boundary condition implementation
i have a cyclic jump boundary condition, so i use the fan boundary in openFOAM, but my jump value changes in each time step and this value should be calculated in each time step for next iteration.
now im thinking about coefficient update , could you please guide me how i can implement it:)
how can i read a scalar from the solver in boundary condition some thing like :
const uniformDimensionedScalarField& Tjump =
instead of uniformDimensionedScalarField , i like to use only scalar!
const scalar Tjump =
but i encounter following error :
error: cannot dynamic_cast ‘(const Foam::regIOobject*)t’ (of type ‘const class Foam::regIOobject*’) to type ‘const double*’ (target is not pointer or reference to class)
|All times are GMT -4. The time now is 21:51.|