CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   changing solver (http://www.cfd-online.com/Forums/openfoam-solving/96553-changing-solver.html)

insta January 25, 2012 13:39

changing solver
 
Hi
As a new user Im trying to understand the OpenFoam software
my question is regarding, lets say to the pitzDaily case
This case solver is the simpleFoam solver
I want to solve this case transiently using the pisoFoam solver
Can anyone give me some directions how to perform this task
ThankYou

msbealo January 26, 2012 12:52

Insta,

Generally if you want to change solvers you would simply merge two tutorials.

To test, find one tutorial that has an interesting problem/geometry and another tutorial which has a solver that you're interested in. Assuming these are sensible choices, you can make a third directory and merge the two tutorials here (simple by copying the files from each case that you need).

Say you want the geometry from one case and the solver from another then Copy the time directory ('0') and possible the blockMeshDict file from one, and the remains of 'constant' and 'system' from the other.

Have a look over the merged case and make sure all the names of patches etc make sense and run it. You might also need to copy and paste the various lines from the ./Runall script files to make it all run nicely.

The first time you run this, it will probably cause an error. You'll just have to start at the beginning of the ./Runall script and figure out where the error are coming from.

If you get stuck ask a question.

Regards,

Mark

insta January 27, 2012 07:52

Thank you for the reply
 
Hi Mark
Thank you for the reply.


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