|
[Sponsors] |
Canopy model implemented but Warning: ZN4Foam14incompressible8RASModel11printCoeffsEv |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 23, 2013, 09:42 |
Canopy model implemented but Warning: ZN4Foam14incompressible8RASModel11printCoeffsEv
|
#1 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 153
Rep Power: 17 |
Hi all,
I have just implemented a generic canopy model over OF2.1.1 based on kEpsilon turbulence model ( 4 parameters controls the type of canopy model) based on the work of Mochida and others. The solver simpleFoam has been also modified to take into account the modification over U equation. Until now the solver runs correctly and the results looks fine when comparing with the benchmarking of Mochida. It can runs on serial or parallel but when I run "blockMesh" or "reconstructPar" or whatever utility different to the solver I always receive the following warning: --> FOAM Warning : From function dlOpen(const fileName&, const bool) in file POSIX.C at line 1175 dlopen error : /home/mmontero/OpenFOAM/mmontero-2.1.1/platforms/linux64Gcc45DPOpt/lib/libmyIncompressibleRASModel.so: undefined symbol: _ZN4Foam14incompressible8RASModel11printCoeffsEv --> FOAM Warning : From function dlLibraryTable:pen(const fileName&, const bool) in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 96 could not load "libmyIncompressibleRASModel.so" I think that the problem is located and it is because there are 4 new parameters and 2 new volScalarFields (canopyDensity and canopyLeaf) but RASModel.C/H does not recognize them. .H Code:
const volScalarField canopyDensity_; const volScalarField canopyLeaf_; Code:
canopyDensity_ ( IOobject ( "canopyDensity", runTime_.timeName(), mesh_, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE ), mesh_ ), canopyLeaf_ ( IOobject ( "canopyLeaf", runTime_.timeName(), mesh_, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE ), mesh_ ) Thank you very much Marcelino Last edited by be_inspired; May 23, 2013 at 11:06. Reason: Include more data |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] installation problem with version 0.2.3 | Claudio87 | OpenFOAM Community Contributions | 9 | May 8, 2013 10:20 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 05:42 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 21:58 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
Add icoLagrangianFoam to FoamX | dyxu | OpenFOAM Running, Solving & CFD | 10 | June 11, 2008 09:53 |