How to compile LinearViscousStress
Dear foamers,
My problem seems to be a really simple one. I just want to edit the boussinesq equation located on file "LinearViscousStress.C" in the turbulenceModel lib (src\TurbulenceModels\turbulenceModels\linearVisco usStress\) and then, recompile the turbuenceModel lib. To do that, I thought of adding the "LinearViscousStress.C" to the "files" file in the "Make" directory and use wmake to recompile the lib. When I've done that a lot of compilation errors poped up on the console. These error are, for example: "error: "word" does not name a type" "error: "volVectorField" does not name a type" "error: "SurfaceScalarField" does not name a type" "error: "tmp" does not name a type" etc... Does anyone knows of a way to sucessfully compile this file? Also, why aren't the turbulence models .C files (kepsilon, kOmega,v2f, etc) not inserted into the "file" file in the "make" directory? Shouldn't openfoam recompile them along whith the "turbulenceModel" lib? How can I edit and recompile them? Best Regards Felipe |
Recompile turbulenceModels
turbulenceModel.C found in the src/TurbulenceModels/turbulenceModels directory is the abstract base class for all turbulence models (and corresponding subclasses). Hence, recompiling in that directory should compile the linearViscousStress class.
|
All times are GMT -4. The time now is 02:18. |