|
[Sponsors] |
Wish to know the function of "stateConstructorTable::iterator cstrIter = sta" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 14, 2019, 10:39 |
Wish to know the function of "stateConstructorTable::iterator cstrIter = sta"
|
#1 |
Member
Bidesh Sengupta
Join Date: Sep 2018
Location: Sngapore
Posts: 76
Rep Power: 8 |
Dear Foam Users,
Good Morning to you all! I am trying to implement shallow water equation (related to my project) with ROE FLUX. The equations are: Ut + Fx + Gy + Hz = 0, Here U = [rho, rho*u, rho*v, rho*w], F = [rho*u, rho*u*u + rho*rho, rho*u*v, rho*u*w], G = [rho*v, , rho*u*v, rho*v*v + rho*rho, rho*u*w] etc. I have changed the necessary changes in NumericFlux, basicNumericFlux and roeFlux in dbnsFlux. When I compiled src it was compiled successfully. Then, I was changed dbnsTurbFoam, but when I tried to compile it, I encountered errors: " /bidesh/foam/foam-extend-4.0/applications/bin/linux64GccDPOpt/dbnsDropletTurbFoam /home/bidesh/foam/foam-extend-4.0/lib/linux64GccDPOpt/libdbns.so: undefined reference to `Foam::basicNumericFlux1::destroystateConstructorT ables()' /home/bidesh/foam/foam-extend-4.0/lib/linux64GccDPOpt/libdbns.so: undefined reference to `Foam::basicNumericFlux1::constructstateConstructo rTables()' /home/bidesh/foam/foam-extend-4.0/lib/linux64GccDPOpt/libdbns.so: undefined reference to `Foam::basicNumericFlux1::stateConstructorTablePtr _' " I suspect I could make some problems in addToRunTimeSelectionTable.H and runTimeSelectionTable.H. I shall be really grateful if any Foamers can help to understand the problem and some hints to solve it. Thank you very much for your time. Last edited by BSengupta; August 18, 2019 at 23:31. |
|
Tags |
compilation error, dbnsfoam, foam ext 4.0, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 12:32 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 07:42 |
Compilation errors in ThirdPartymallochoard | feng_w | OpenFOAM Installation | 1 | January 25, 2009 07:59 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |