Hi all,
can someone please he
Hi all,
can someone please help me with getting the size of a patch? For example something like that: scalarField af = mesh.magSf().boundaryField()[inletIndex]; A +=gSum(af); does not work. Thanks Anja |
const fvPatchList& patches(mes
const fvPatchList& patches(mesh.boundary());
forAll (patches, patchi) { if (patches[patchi].name()==word("inlet")) { scalar areaP = sum(patches[patchi].magSf()); } } Hope this helps Pierre |
This
scalar A = gSum(mesh.b
This
scalar A = gSum(mesh.boundaryField()[inletIndex].magSf()); should work fine. |
All times are GMT -4. The time now is 07:53. |