Dear All, I want to change
I want to change the "nu" for each cell and I add the code to icoFoam.C, but a error is here. Could you help me for this?
93: volScalarField& nuInternal = nu.internalField();
icoFoam.C:93: error: 'struct Foam::dimensionedScalar' has no member named 'internalField'
Its' because nu is defined as
Its' because nu is defined as a constant, replace the creation of nu with a volScalarField.
... and you should really try to come up with more approapriate headlines.
Dear Niklas Nordin: Thanks
Dear Niklas Nordin:
Thanks for your help.
Since I am a new learner, I do not understand well you meaning ("Its' because nu is defined as a constant, replace the creation of nu with a volScalarField."). Could you please give more explanations?
|All times are GMT -4. The time now is 14:58.|