|
[Sponsors] |
January 21, 2024, 18:22 |
cacheLESRegion ERROR
|
#1 |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 245
Rep Power: 10 |
Hi,
I'm trying to implement the cacheLESRegion function, present in the SpallartAllmarasDES model, in my model (OpenFOAM 9). When I test the function (below) using the Spallart model, everything goes well. SpalartAllmarasDES.C: Code:
template<class BasicMomentumTransportModel> void SpalartAllmarasDES<BasicMomentumTransportModel>::cacheLESRegion ( const volScalarField::Internal& dTilda ) const { if (this->mesh_.cacheTemporaryObject(modelName("LESRegion"))) { volScalarField::Internal::New ( modelName("LESRegion"), neg(dTilda - y_()) ); } } Code:
cacheTemporaryObjects ( SpalartAllmarasDES:LESRegion ); functions { #includeFunc writeObjects(SpalartAllmarasDES:LESRegion) } controlDict: Code:
cacheTemporaryObjects ( mySpalartAllmarasDES:LESRegion ); functions { #includeFunc writeObjects(mySpalartAllmarasDES:LESRegion) } Code:
--> FOAM Warning : Could not find temporary object mySpalartAllmarasDES:LESRegion in registry region0 Available temporary objects 419 (...) Can someone help me? |
|
Tags |
openfoam9 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 20:43 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |