Updated surface handling
- Nov 30, 2020
-
-
Mark OLESEN authored029b1373
-
Mark OLESEN authored
- weight fields are combined by multiplication - volFieldValue: * 0-N scalar fields - surfaceFieldValue: * 0-N scalar fields * 0-1 vector fields In some cases this can be used to avoid creating additional fields. weightFields (rho U); vs. derivedFields (rhoU); weightField rhoU;
ab692caf -
Mark OLESEN authored
- when sampling onto a meshed surface, the sampling surface may be outside of the mesh region, or simply too far away to be considered reasonable. Can now specify a max search distance and default values for samples that are too distant. If a default value is not specified, uses Type(Zero). Eg, maxDistance 0.005; defaultValue { "p.*" 1e5; T 273.15; U (-100 -100 -100); }
f8d08a80 -
Mark OLESEN authoreda947e9dd
-
Mark OLESEN authored90fe49e8
-
Mark OLESEN authored
- additional "names" entry to specify a word/regex list of selections For example, { type patch; name inlets; names ("inlet_[0-9].*" inlet); } - if "names" exists AND contains a literal (non-regex) that can be used as a suitable value for "name", the "name" entry becomes optional. For example, { type patch; names ("inlet_[0-9].*" inlet); // inferred name = inlet } - reduce some overhead in surfaceFieldValue TUT: surfaceFieldValue on patches : reactingParcelFoam/verticalChannel
6cf81518 -
Mark OLESEN authored
- supports geometry and field-specific scaling, separate geometry and fields. Beta-feature for suppressing geometry output entirely.
f82af7cb -
Mark OLESEN authored
- read surfaces which are defined in terms of solid element sides. Eg, ``` *ELEMENT, TYPE=C3D4, ELSET=... 1, ... 2, ... *SURFACE, NAME=Things, TYPE=ELEMENT 1, S1 2, S1 ``` The element and side number are encoded as a synthetic face id according to -(10 * elemId + sideNum) but the underlying solid geometry is discarded, since there is no reasonable way to pass it through the surface sampling mechanism.
1d398d8c
-