CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > FLOW-3D

Custom mometum source term / modifying solidification drag eqn

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2022, 18:42
Default Custom mometum source term / modifying solidification drag eqn
  #1
New Member
 
Carl Reilly
Join Date: Aug 2010
Posts: 25
Rep Power: 15
carl_r is on a distinguished road
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?
carl_r is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:38.