|
[Sponsors] |
Canopy model implemented but Warning: ZN4Foam14incompressible8RASModel11printCoeffsEv |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 23, 2013, 10:42 |
Canopy model implemented but Warning: ZN4Foam14incompressible8RASModel11printCoeffsEv
|
#1 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
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 12:06. Reason: Include more data |
|
May 23, 2013, 11:49 |
|
#2 |
Senior Member
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 23 |
Hi Marcelino,
Do you load the library in the controlDict-file of the case? Cheers, L |
|
May 23, 2013, 11:58 |
|
#3 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17 |
Yes, it is included.
The point is that the new turbulent model and the new solver are working correctly. I have compared the results with experimental data and looks "valid" ( it is quite difficult to know how is the density leaf of pines). The warning only happens when using reconstructPart, paraFoam, blockMesh.... but no error or warning when performing the simulation. I have looked for the same error in the forum and there is an old post about it but it seems that never was solved. |
|
|
|
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 11:20 |
[blockMesh] non-orthogonal faces and incorrect orientation? | nennbs | OpenFOAM Meshing & Mesh Conversion | 7 | April 17, 2013 06:42 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
Add icoLagrangianFoam to FoamX | dyxu | OpenFOAM Running, Solving & CFD | 10 | June 11, 2008 10:53 |