Dear All,
I want to change
Dear All,
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' Thanks deeply, Guoxiang |
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. N |
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? Thanks deeply, Guoxiang |
All times are GMT -4. The time now is 20:57. |