CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Running a very large parameter range with OpenFOAM-2.1.x

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 15, 2012, 22:58
Default Running a very large parameter range with OpenFOAM-2.1.x
  #1
New Member
 
Nishit Joseph
Join Date: Nov 2010
Posts: 29
Rep Power: 6
JLight is on a distinguished road
Hi OF Users!
I want to run a wide range of parameters for a case that I am studying. When using fluent, I used to work with Python to create the journal files put them in seprate directories and then submit the job (work is done on a HPC).

I would like to do the same in OpenFOAM-2.1.x. I have seen some examples in python wrapers called pyFoam now pythonFlu.

Unfortunately I am not able to compile pythonFlu against OF-2.1.x.

The binaries are for python24 which make it tough for me to work on my laptop (to then later submit to the HPC). I use ArchLinux and there is no offical Python24.

Is there any tool that I can use to create OF cases.

Cheers!
Nishit
JLight is offline   Reply With Quote

Old   October 16, 2012, 04:24
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by JLight View Post
Hi OF Users!
I want to run a wide range of parameters for a case that I am studying. When using fluent, I used to work with Python to create the journal files put them in seprate directories and then submit the job (work is done on a HPC).

I would like to do the same in OpenFOAM-2.1.x. I have seen some examples in python wrapers called pyFoam now pythonFlu.

Unfortunately I am not able to compile pythonFlu against OF-2.1.x.

The binaries are for python24 which make it tough for me to work on my laptop (to then later submit to the HPC). I use ArchLinux and there is no offical Python24.

Is there any tool that I can use to create OF cases.

Cheers!
Nishit
Well. If you don't want to modify the solvers anyway then you can use the other PyFoam (which is still called PyFoam). PyFoam can be used for manipulating case files and running the solvers (also analyzing the output of those), it has no compiled parts. But you can't write new solvers like you can in PythonFlu.

For an example on a parameter variation see http://openfoamwiki.net/index.php/Co...eter_Variation (while writing I realised that the example still uses the pre-1.5 convention for utility-calling. But it should give you an idea)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 2.1.x - AMI (Arbitrary Mesh Interface) philippose OpenFOAM Running, Solving & CFD 32 June 17, 2014 13:43
Eureka, OpenFoam 1.5 is running on OpenSUSE11.1 Ahmed Main CFD Forum 0 March 7, 2009 23:20
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
Running OpenFOAM Sean Main CFD Forum 1 April 8, 2008 13:26
OpenFOAM Debian packaging current status problems and TODOs oseen OpenFOAM Installation 9 August 26, 2007 13:50


All times are GMT -4. The time now is 08:23.