Solver looking for Foam::NO_READ fields ...
Howdy Foamers:
I have something which I can't quite understand. Perhaps you could spot what the problem could be. In my solver implemention, I have two variables set to IOobject::NO_READ in source file createFields.H: Code:
volScalarField rho ( In the end, I just wanted to have the field "rhoG" as temporary storage, as it will be used in a number of equations and I only wanted to calculate it once per outer iteration. I could define calculated boundary conditions in the 0 folder for rhoG, but ultimately I would like to hide that from the end user. How would I go about doing that? Thanks in advance, Gerry. |
I realized what happened. In the above example, rho is constructed from an existing volScalarField thermo.rho(), so the solver did not need to look for values.
So in my case, the constructor for rhoG was modified to this: Code:
volVectorField rhoG ( Code:
dimensionedVector grav ( |
All times are GMT -4. The time now is 20:05. |