|
[Sponsors] |
October 10, 2017, 00:24 |
How to compile LinearViscousStress
|
#1 |
New Member
Felipe Murad
Join Date: Mar 2017
Posts: 11
Rep Power: 9 |
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 |
|
October 16, 2017, 14:06 |
Recompile turbulenceModels
|
#2 |
New Member
Ehimen
Join Date: Jun 2016
Posts: 12
Rep Power: 10 |
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.
|
|
Tags |
boussinesq, compilation error, linearviscousstress, turbulence models |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 07:05 |
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 | gwierink | OpenFOAM Installation | 0 | April 5, 2011 05:38 |
PV3FoamReader compile error.... | PEM_GUY | OpenFOAM Installation | 6 | April 5, 2010 18:22 |
Error compile file udf | czfluent | Fluent UDF and Scheme Programming | 24 | September 26, 2009 14:24 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 22:51 |