|
[Sponsors] |
Custom mometum source term / modifying solidification drag eqn |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 29, 2022, 18:42 |
Custom mometum source term / modifying solidification drag eqn
|
#1 |
New Member
Carl Reilly
Join Date: Aug 2010
Posts: 25
Rep Power: 15 |
Hi,
In Flow3D the solidification flow attenuation is undertaken by ramping the viscosity and applying a drag term. Details in the mannual. How can I modify the equation used for the drag term or create my own momentum source term to replace the drag function? I'd be happy to turn off the solidification model and create my own by controlling viscosity, latent heat, and applying a momentum source term. I just can't work out how to create a momentum source term dependent on solid fraction/temperature. - I can modify the viscosity ramp via the mucal.F90 user function - I can implement the latent heat via modifying the Cp curve - I can't currently work out how to modify the drag term, or recreate it as a sub-routine - I see there are mass source user sub-routine, but I don't see a momentum one Any thoughts or suggestions? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom source term in incompressible fluid flow simulation | jw-89 | SU2 | 5 | June 8, 2021 09:33 |
How to add Source term (2) for PYROLYSIS - reactingOneDim | Kummi | OpenFOAM | 10 | April 12, 2021 21:11 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 10:59 |
[swak4Foam] Error bulding swak4Foam | sfigato | OpenFOAM Community Contributions | 18 | August 22, 2013 12:41 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 13:59 |