Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 647 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 647 Bytes

Application

adjustVoFScalarFields

Description

Approximates a given volScalarFied using level sets for second-order accuracy (inspired by setWaves OpenFOAM's utility). It is aimed to improve the output provided by setFields when the selected sets do not perfectly match the goal shape e.g. when using sphereToCell in a fully orthogonal mesh.

Notes to myself

  • Try to produce more elegant code next time.
  • Finish reading/understanding the GNUGPLv3 in order to find out whether headers of modified OpenFOAM-files can be edited or not.

Requisites

  • OpenFOAM-5

Use

Call it after setFields e.g. adjustVoFScalarFields alpha.water