|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Felipe Murad
Join Date: Mar 2017
Posts: 11
Rep Power: 10 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM | Rizwan | Fluent UDF and Scheme Programming | 40 | March 18, 2018 06:05 |
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 | gwierink | OpenFOAM Installation | 0 | April 5, 2011 04:38 |
PV3FoamReader compile error.... | PEM_GUY | OpenFOAM Installation | 6 | April 5, 2010 17:22 |
Error compile file udf | czfluent | Fluent UDF and Scheme Programming | 24 | September 26, 2009 13:24 |
Can someone PLEASE document the development version installation | bernd | OpenFOAM Installation | 76 | November 14, 2008 21:51 |