_heretic1
04/03/2024, 1:20 PM_heretic1
04/03/2024, 1:20 PMYann
04/03/2024, 1:20 PM_heretic1
04/03/2024, 1:21 PMYann
04/03/2024, 1:26 PM_heretic1
04/03/2024, 1:42 PM_heretic1
04/03/2024, 1:43 PM_heretic1
04/03/2024, 1:43 PM_heretic1
04/03/2024, 1:43 PMemphatic_wax
04/03/2024, 3:26 PMqr
04/03/2024, 4:07 PMqr
04/03/2024, 4:08 PMqr
04/03/2024, 4:08 PMqr
04/03/2024, 4:09 PMqr
04/03/2024, 4:11 PMqr
04/03/2024, 4:12 PMqr
04/03/2024, 4:15 PMqr
04/03/2024, 4:16 PMemphatic_wax
04/03/2024, 9:22 PM_boludo
04/07/2024, 10:53 AMfleurdepassion
04/09/2024, 6:58 AMotaolafr
04/16/2024, 11:38 AMkordovic
04/17/2024, 9:20 AMZino
04/17/2024, 9:30 AMtkeskita
04/17/2024, 2:10 PMYann
04/17/2024, 2:14 PMtkeskita
04/17/2024, 2:28 PMfoamToVTK -surfaceFields
seems to be generating point data which is located at face centers, but the face geometry is missing.. There is internal.vtu and boundary.vtu, but they are 3D cells, not faces.
Ah, the instructions say you need to extract the internal faces separately.tkeskita
04/17/2024, 2:58 PMFoamFile
{
version 2.0;
format ascii;
class dictionary;
object topoSetDict;
}
actions
(
{
name intFaceSet;
type faceSet;
action new;
source boundaryToFace;
}
{
name intFaceSet;
type faceSet;
action invert;
}
{
name intFaceZone;
type faceZoneSet;
action new;
source setToFaceZone;
faceSet intFaceSet;
}
{
name boundaryFaceSet;
type faceSet;
action new;
source boundaryToFace;
}
{
name boundaryFaceZone;
type faceZoneSet;
action new;
source setToFaceZone;
faceSet boundaryFaceSet;
}
);
tkeskita
04/17/2024, 2:58 PMfoamToVTK -time X -faceZones '(intFaceZone boundaryFaceZone)'
and open the e.g. file VTK/intFaceZone/intFaceZone_0.vtp
in Paraview (funny thing is that this vtp (point data file) contains surface data).
Apparently this is the only fool-proof way to do this. If you skip the VTK step and just read zone data in Paraview and enable "Copy data to cell zones", it will interpolate cell values to the faces and you get to see wrong results 😣
You know it's correct when the field name starts with "face_", e.g. "face_skewness".Yann
04/17/2024, 2:59 PM