mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: nastran: interpolated values not normalised
This commit is contained in:
@ -201,6 +201,7 @@ void Foam::nastranSurfaceWriter::writeTemplate
|
|||||||
{
|
{
|
||||||
v += values[f[fptI]];
|
v += values[f[fptI]];
|
||||||
}
|
}
|
||||||
|
v /= f.size();
|
||||||
|
|
||||||
writeFaceValue(nasFieldName, v, ++n, os);
|
writeFaceValue(nasFieldName, v, ++n, os);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user