|
[Sponsors] |
Adding a source term to k and epsilon equation for buoyancy |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 7, 2012, 10:53 |
Adding a source term to k and epsilon equation for buoyancy
|
#1 |
New Member
Rajesh Kumar
Join Date: Apr 2009
Posts: 25
Rep Power: 17 |
Hi..
I am adding a term which is a function of density gradient and gravitational acceleration (g) to k and epsilon equation of compressible k-epsilon model. while compiling my new k-epsilon model, error comes as In file included from mykEpsilon.C:268:0: /home/rajesh/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readGravitationalAcceleration.H:1:5: error: ‘Info’ does not name a type /home/rajesh/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readGravitationalAcceleration.H:2:5: error: ‘uniformDimensionedVectorField’ does not name a type mykEpsilon.C: In member function ‘virtual void Foam::compressible::RASModels::mykEpsilon::correct ()’: mykEpsilon.C:297:29: error: ‘g’ was not declared in this scope make: *** [Make/linux64GccDPOpt/mykEpsilon.o] Error 1 rajesh@rajesh-OptiPlex-990:~/OpenFOAM/rajesh-2.1.1/src/turbulenceModels/compressible/RAS/mykEpsilon$ Pls help.... |
|
May 15, 2014, 14:41 |
|
#2 |
Senior Member
Srivathsan N
Join Date: Jan 2013
Location: India
Posts: 101
Rep Power: 13 |
Hi,
It seems that there is some error in your readgravitationalacceleration.H file. The second error in your .C file also points to not being able to read properly. Make sure that the contents of the above mentioned .H file are correct. I am also working on buoyancy driven flows. May I know how you are adding the source term for buoyancy to the k-equation?
__________________
Regards, Srivaths |
|
April 19, 2019, 08:41 |
|
#3 |
Senior Member
Jianrui Zeng
Join Date: May 2018
Location: China
Posts: 157
Rep Power: 8 |
I am also wondering how I can add buoyancy term into K and epsilon.
I found Gcoef in buoyantKEpsilon and I am trying to use it. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
What's the source term in this turbulent momentum equation? | lyes43 | Main CFD Forum | 2 | December 1, 2012 12:19 |
Source Term on Scalar Transport Equation - crashing simulation | alessio.nz | OpenFOAM | 19 | February 8, 2011 08:38 |
The effect of E term in the EPSILON equation | Valdemir G. Ferreira | Main CFD Forum | 6 | June 7, 2000 03:37 |
Extra term in Epsilon equation | Valdemir G. Ferreira | Main CFD Forum | 0 | April 30, 2000 09:57 |
bouyancy term in epsilon equation | Michael | Main CFD Forum | 1 | June 25, 1999 11:20 |