|
[Sponsors] |
Comparison: volScalarField in phaseModel and within main() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 3, 2014, 07:07 |
Comparison: volScalarField in phaseModel and within main()
|
#1 | |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
hi,
I just tried to implement a new volScalarField in main() of my solver. I also implemented some fields within phaseModel.H/phaseModel.C and intitialized them with the constructor like Code:
ONE ( IOobject ( "One" + name, mesh.time().timeName(), mesh, IOobject::MUST_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar ( "OneValueOfTheField", dimensionSet(0,0,0,0,0,0,0) ), zeroGradient ), Code:
dimensionedScalar ( "OneValueOfTheField", dimensionSet(0,0,0,0,0,0,0) ) Code:
dimensionedScalar ( "OneValueOfTheField", dimensionSet(0,0,0,0,0,0,0), 0 ) Quote:
Last edited by maybee; April 3, 2014 at 11:25. |
||
|
|