|
[Sponsors] |
Adding source term to epsilon Eqn containing cell coordinate |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 8, 2016, 11:47 |
Adding source term to epsilon Eqn containing cell coordinate
|
#1 |
Senior Member
|
Hello,
I am stuck in adding a source term to the turbulence kinetic energy dissipation Eqn in kEpsilon turbulence model. the source term consists of cell coordinate, for example: S_eps (z) = C*z I am unable to get cell coordinate. I believe I have to load the mesh, but I don't know how. I tried: Code:
fvMesh & mesh = mesh(); volScalarField z = mesh.C().component(vector::Z); Code:
error: no match for call to ‘(Foam::fvMesh) ()’ fvMesh & mesh = mesh(); It would be great help if you could teach me how. Thanks.
__________________
Learn OpenFOAM in Persian SFO (StarCCM+ FLUENT OpenFOAM) Project Team Member Complex Heat & Flow Simulation Research Group If you can't explain it simply, you don't understand it well enough. "Richard Feynman" |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 21:53 |
Problem adding a source term in interfoam's alphaEqn.H | Quentin | OpenFOAM Running, Solving & CFD | 1 | July 30, 2014 05:33 |
Adding an explicit source term in the UEqn() | Anne Lincke | OpenFOAM Running, Solving & CFD | 0 | June 25, 2013 12:19 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 13:59 |
define a source term at cell faces, possible? | Hugoles | OpenFOAM Pre-Processing | 0 | May 22, 2012 17:49 |