|
[Sponsors] |
January 31, 2005, 09:30 |
I am a new user of OPENFOAM.
|
#1 |
Guest
Posts: n/a
|
I am a new user of OPENFOAM. I am trying to modify some of the inbuilt solvers/libraries to suit my application, but having some trouble. For example: I want to modify the K-Epsilon model under turbFoam (incompressible turbulent flow).
I copied "turbFoam" directory to "myturbFoam" directory and then moved the "turbFoam.cfg" file to "myturbFoam.cfg" file. Inside this file, I changed the following: object myturbFoam.cfg; executable myturbFoam; After this, I was trying to locate the exact location of the kEpsilon model in the source code so that I can change it, but could only locate the kEpsilon coefficient files (Cmu, C1, etc.) in the source code. Could you please mail me where I need to look for the exact location of the kEpsilon model in the source code so that I can modify it. Also, do I need to make modification elsewhere to successfully run "myturbFoam?" Thank you. |
|
January 31, 2005, 09:52 |
First, what you want to do is
|
#2 |
Guest
Posts: n/a
|
First, what you want to do is take all of your modifications and throw them away.
If you just want to change the turbulence model you dont have to change anything in the code.... leave it as it is. if you type 'src' you should get to the source directory and all of the turbulence models are located there, under turbulenceModels. Once you have modified your turbulence model dont forget to update/compile the library, This is easiest of you just run the Allwmake-script in the turbulenceModels directory. Niklas |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modifying writeInterval during execution | kdarc | OpenFOAM Running, Solving & CFD | 0 | February 17, 2009 12:39 |
Modifying an arc in GAMBIT? | Jake | FLUENT | 0 | April 1, 2008 16:23 |
Could anybody help the trouble of the modifying the U | liugx212 | OpenFOAM Running, Solving & CFD | 2 | February 27, 2006 10:23 |
Could anybody help the trouble of the modifying the U | liugx212 | OpenFOAM Running, Solving & CFD | 0 | February 26, 2006 16:48 |
modifying commercial codes | Richard Carroni | Main CFD Forum | 1 | October 15, 1998 06:38 |