mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: adjust sampling onto meshed surfaces (#1600)
- base level surface container is now a meshedSurface instead of a triSurface. This avoid automatic triangulation of surfaces when they are read, and simplifies the internals. - sampling types: * "meshedSurface" (compat: "sampledTriSurfaceMesh") * "meshedSurfaceNormal" (compat: "sampledTriSurfaceMeshNormal")
This commit is contained in:
@ -23,7 +23,7 @@ sampled
|
||||
|
||||
_sampleMesh
|
||||
{
|
||||
type sampledTriSurfaceMesh;
|
||||
type meshedSurface;
|
||||
source cells;
|
||||
store true;
|
||||
}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v2006 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -168,7 +168,7 @@ nonWeightedAreaAverage
|
||||
name sampledTriSurf;
|
||||
sampledSurfaceDict
|
||||
{
|
||||
type sampledTriSurfaceMesh;
|
||||
type meshedSurface;
|
||||
surface angledPlane.obj;
|
||||
source insideCells;
|
||||
interpolate true;
|
||||
|
||||
Reference in New Issue
Block a user