Syntax question relating volScalarField
Hi Foamers,
I have the following question is it possible to "force" a volScalarField in this way? volScalarField somethingSomething ( IOobject ( "somethingSomething", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE ), mesh, dimensionedScalar("zero",dimensionSet(1,0-1,0,0,0,0),A*B) ); with the product of A*B having a different dimension, i.e. to overwrite the dimension? |
So basically this
Code:
volScalarField somethingSomething if they form a volScalarField, you just remove mesh, like this Code:
volScalarField somethingSomething |
Quote:
|
Quote:
dimensionSet(1,0,-1,0,0,0,0) is the correct.... a "," was misssing |
All times are GMT -4. The time now is 14:08. |