"=" or "==" when I modify BC (fixedGradient) during run ?
Hi!
I wonder what is the correct code form to modify the BC during runs. I know that for a fixedValue BC the "==" sign is required to overwrite the orginal BC. For example: Code:
phiS.boundaryField()[patchID]== phib.boundaryField()[patchID]; Code:
fixedGradientFvPatchScalarField& gradpPatch=refCast<fixedGradientFvPatchScalarField>(p.boundaryField()[patchID]); Best regards, Cyp |
All times are GMT -4. The time now is 09:33. |