Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
modification of readm
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarcelogimenez committed May 18, 2015
1 parent 7da1bfe commit 33fcced
Show file tree
Hide file tree
Showing 44 changed files with 1,266 additions and 122,590 deletions.
4 changes: 3 additions & 1 deletion Allwclean
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash

export FOAM_MPI_INCLUDE=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$FOAM_MPI/include
python setup.py clean
rm -rf dist build foam_wrappers.egg-info
pushd .
Expand All @@ -7,10 +9,10 @@ wclean
rm -rf build
popd
pushd .
rm openfoam-interface/internal-interface/bin/*
cd openfoam-interface/internal-interface/libs
wclean incompressibleTurbulenceModel/turbulenceModel
wclean incompressibleTurbulenceModel/RAS
#wclean incompressibleTurbulenceModel/LES
rm -rf incompressibleTurbulenceModel
popd
pushd .
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ Release 0.1.1
Release 0.1.2
-------------

* Internal Interfaces wrapper added (#21)
* Internal Interfaces wrapper added (#23)

7 changes: 4 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Installation
Package foam_controlwrapper requires python 2.7.x, OpenFOAM 2.2.2 and pyFoam 0.6.4

Installing the OpenFoam interface wrappers
$ sh ./install_foam_interface.sh

$ ./install_foam_interface.sh

Installation is based on setuptools::

Expand All @@ -44,5 +45,5 @@ Directory structure
Subpackages:


- foam_controlwrapper -- wrapper class and tests for OpenFOAM -wrapping using pyFoam
- foam_internalwrapper -- wrapper class and tests for OpenFOAM -wrapping using internal interfaces
- foam_controlwrapper -- wrapper class and tests for OpenFOAM using IO wrapping
- foam_internalwrapper -- wrapper class and tests for OpenFOAM wrapping using internal interfaces
14 changes: 0 additions & 14 deletions foam_internalwrapper/examples/foam_mesh_to_h5cuds.py

This file was deleted.

1 change: 1 addition & 0 deletions foam_internalwrapper/examples/poiseuille.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

# run returns the latest time
lastTime = wrapper.run()
print "lastTime: " + str(lastTime)

print "post-processing"
XYZUVW = mesh_inside_wrapper.getXYZUVW()
Expand Down
24 changes: 0 additions & 24 deletions foam_internalwrapper/examples/poiseuille/constant/RASProperties

This file was deleted.

This file was deleted.

This file was deleted.

Loading

3 comments on commit 33fcced

@jmarcelogimenez
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has the corrections proposed by K. Hiltunen. Title of commit was wrong.

@khiltunen
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that the code is not passing flake8. For example for 'foam_internalwrapper.py' it gives

foam_internalwrapper.py:77:5: E101 indentation contains mixed spaces and tabs
foam_internalwrapper.py:77:5: W191 indentation contains tabs
foam_internalwrapper.py:77:6: E265 block comment should start with '# '
foam_internalwrapper.py:78:5: E101 indentation contains mixed spaces and tabs
foam_internalwrapper.py:78:5: W191 indentation contains tabs
foam_internalwrapper.py:80:5: E101 indentation contains mixed spaces and tabs
foam_internalwrapper.py:80:5: W191 indentation contains tabs
foam_internalwrapper.py:80:6: E265 block comment should start with '# '
foam_internalwrapper.py:81:5: E101 indentation contains mixed spaces and tabs
foam_internalwrapper.py:81:5: W191 indentation contains tabs
foam_internalwrapper.py:83:5: E101 indentation contains mixed spaces and tabs
foam_internalwrapper.py:83:5: W191 indentation contains tabs
foam_internalwrapper.py:83:6: E265 block comment should start with '# '
foam_internalwrapper.py:90:1: W293 blank line contains whitespace

@santiagomarquezd
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code is passing flake8 now.

Please sign in to comment.