mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: ensightWrite, vtkWrite support for excluding fields and patches
- functionality similar to that provided by foamToEnsight, foamToVTK which allows blocking out patches (eg, outer walls, inlet/outlet) that are not particularly interesting to visualize
This commit is contained in:
@ -12,6 +12,11 @@ ensightWrite
|
||||
|
||||
writeControl writeTime;
|
||||
writeInterval 1;
|
||||
|
||||
//patches ( "motorBike.*" );
|
||||
|
||||
//- These patches are uninteresting
|
||||
excludePatches ( inlet outlet frontAndBack ".*[Ww]all" );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -6,6 +6,10 @@ vtkWrite
|
||||
libs (utilityFunctionObjects);
|
||||
log true;
|
||||
|
||||
//- Write more frequent than fields
|
||||
writeControl timeStep;
|
||||
writeInterval 25;
|
||||
|
||||
// Fields to output (words or regex)
|
||||
fields (U p "(k|epsilon|omega)");
|
||||
|
||||
@ -21,9 +25,8 @@ vtkWrite
|
||||
//- Write cell ids as field - Default=true
|
||||
writeIds false;
|
||||
|
||||
//- Write more frequent than fields
|
||||
writeControl timeStep;
|
||||
writeInterval 25;
|
||||
//- These patches are uninteresting
|
||||
excludePatches ( inlet outlet frontAndBack );
|
||||
}
|
||||
|
||||
subset
|
||||
@ -32,6 +35,10 @@ subset
|
||||
libs (utilityFunctionObjects);
|
||||
log true;
|
||||
|
||||
//- Write more frequent than fields
|
||||
writeControl timeStep;
|
||||
writeInterval 25;
|
||||
|
||||
// boundary false;
|
||||
|
||||
interpolate true;
|
||||
@ -42,9 +49,8 @@ subset
|
||||
//- Write cell ids as field - Default=true
|
||||
writeIds false;
|
||||
|
||||
//- Write more frequent than fields
|
||||
writeControl timeStep;
|
||||
writeInterval 25;
|
||||
//- These patches are uninteresting
|
||||
excludePatches ( inlet outlet frontAndBack );
|
||||
|
||||
// Region of interest
|
||||
selection
|
||||
|
||||
Reference in New Issue
Block a user