Question about define the BC class
I want to define my own BC class after each iteration. Actually, I want to update my inlet velocity after each iteration. As far as I know, I can use the following format:
void Foam::updateInletVelocityFvPatchVectorField::updat eCoeffs()
const fvPatchField<vector>& Uf =
How can I obtain the velocity "Ufc" of the patch cell ?
How can I obtain the gradient "gradUc" of the velocity of the patch cell?
vectorField::operator= (gradUc & Ufc);
Can I use the set gradUc = Uf.gradientInternalCoeffs() and Ucf = Uf.patchInternalField()?
Thanks in advance!
|All times are GMT -4. The time now is 02:22.|