pzimbrod / thermocapillaryInterFoam

A VoF-based multiphase solver including heat transfer, marangoni flow and laser interaction in OpenFOAM intended for modelling complex surface-tension driven flows
GNU General Public License v3.0
25 stars 5 forks source link

Unified definition of divCapillaryStress() #4

Closed pzimbrod closed 2 years ago

pzimbrod commented 2 years ago

Upon further inspection, v0.3 contains a formulation of divCapillaryStress() that can be unified by taking fvc::div of the entire stress tensor, no need to differentiate in code term-by-term. That should cut down computations.

Also, the source still reads in a dict field "dSigmadT" which is sort of obsolete, since we can access that from the tabulated sigma values just as well.