Skip to content

FieldConvert module to add a constant to a field

Spencer Sherwin requested to merge feature/FC-AddConstToFld into master

This module allows one to add a constant to a particular field. This is useful if you want to add a fixed offset to the pressure field in the Incompressible flow solver.

e.g. to add a constant value of 1 to field 3 of infile.fld one would type: FielConvert -m addconsttofld:fieldid=3:value=1.0 infile.xml infile.fld outfile.fld

Merge request reports