_boludo
10/18/2024, 6:57 PMcomputeNormals
{
libs ("libutilityFunctionObjects.so");
type coded;
redirectType computeNormals;
writeControl timeStep; //outputTime;
//writeInterval 0.2;
code
#{
//const surfaceVectorField& normals = mesh().Sf();
//normals.write();
//const vectorField& Sfp = mesh_.Sf().boundaryField()[patchi];
//const scalarField& magSfp = mesh_.magSf().boundaryField()[patchi];
const vectorField& Sfp = mesh().Sf();
const scalarField& magSfp = mesh().magSf();
Sfp.write();
magSfp.write();
#};
}