CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Wish to know the function of "stateConstructorTable::iterator cstrIter = sta"

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2019, 09:39
Default Wish to know the function of "stateConstructorTable::iterator cstrIter = sta"
New Member
Bidesh Sengupta
Join Date: Sep 2018
Posts: 15
Rep Power: 2
BSengupta is on a distinguished road

I am trying to implement new equations in foam extent dbnsFoam for I am trying to make necessary changes in dbnsFlux.

I wish to understand the meaning of "
stateConstructorTable::iterator cstrIter =
Moreover when I am trying to compile I am getting the following error:
basicNumericFlux1/newBasicNumericFlux1.C:46:5: error: ‘stateConstructorTable’ has not been declared
stateConstructorTable::iterator cstrIter =
basicNumericFlux1/newBasicNumericFlux1.C:49:9: error: ‘cstrIter’ was not declared in this scope
if (cstrIter == stateConstructorTablePtr_->end())
basicNumericFlux1/newBasicNumericFlux1.C:49:9: note: suggested alternative: ‘strstr’
if (cstrIter == stateConstructorTablePtr_->end())
basicNumericFlux1/newBasicNumericFlux1.C:49:21: error: ‘stateConstructorTablePtr_’ was not declared in this scope
if (cstrIter == stateConstructorTablePtr_->end())
basicNumericFlux1/newBasicNumericFlux1.C:58:39: error: ‘cstrIter’ was not declared in this scope
return autoPtr<basicNumericFlux1>(cstrIter()(rho, U));
basicNumericFlux1/newBasicNumericFlux1.C:58:39: note: suggested alternative: ‘strstr’
return autoPtr<basicNumericFlux1>(cstrIter()(rho, U));

I shall grateful to know the fix and the concept.
Thank you very much.
BSengupta is online now   Reply With Quote


compilation error, dbnsfoam, foam ext 4.0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 11:32
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 06:59
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50

All times are GMT -4. The time now is 20:24.