|
[Sponsors] |
March 25, 2013, 12:47 |
run openfoam with bash script
|
#1 |
Guest
Posts: n/a
|
hi everybody,
i wrote a short Fluent3DMeshtoFoam bash script. #!/bin/sh /sw/ansys/ansys12.1/v121/fluent/bin/fluent 3ddp -g < fluent_ascii fluent3DMeshToFoam recalculation_re=200k_done_ascii.cas createPatch rm -r /home/stswi1/HiWi/OpenFOAM/8k5/constant/polyMesh cp -a /home/stswi1/HiWi/OpenFOAM/8k5/70.02/polyMesh* /home/stswi1/HiWi/OpenFOAM/8k5/constant/ rm -r /home/stswi1/HiWi/OpenFOAM/8k5/70.02 /sw/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoSimpleFoam wallGradT it works when i run openfoam (option openfoam-17.x) and then run the bash script. without running openfoam at first the following fault appears. /sw/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoSimpleFoam: symbol lookup error: /sw/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/rhoSimpleFoam: undefined symbol: _ZN4Foam13fvsPatchFieldINS_6VectorIdEEE28disallowD efaultFvsPatchFieldE is it something with the environment variables? could anybody help me? thanks in advance. Simon |
|
March 25, 2013, 17:23 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Simon and welcome to the forum!
I'll have to be quick to answer:
Bruno
__________________
|
|
April 11, 2013, 10:10 |
|
#3 |
Guest
Posts: n/a
|
hi bruno,
thanks for your quick response. yes the "openfoam" command i am talking about is a command for loading OpenFOAM's shell variables. i will take a look at your link. simon |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Would you pay to run your OpenFoam simulations remotely? | danhumphreys | OpenFOAM | 4 | October 27, 2010 14:00 |
Can't run paraFoam with OpenFOAM 1.6 | Fed11 | OpenFOAM Installation | 1 | October 30, 2009 20:54 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 06:56 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |
How to run the graphic interface of openfoam | liugx212 | OpenFOAM Running, Solving & CFD | 3 | November 12, 2005 16:06 |