CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

UDF Patching Cells for Secondary Phase source terms

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2022, 19:05
Default UDF Patching Cells for Secondary Phase source terms
  #1
New Member
 
AnthonyBowers
Join Date: Jun 2020
Posts: 13
Rep Power: 6
AnthonyBowers is on a distinguished road
Hi all,

For context, I am simulating a counter flow bubble column. The Liquid will enter through a horizontal side pipe connected to a larger vertical pipe. The secondary phase will be added as a source term, some z-distance. I am using a define-on-demand to patch the source terms. The mass source is M_dot/Patched_volume where M_dot is my input variable. Then as for the momentum source, I have M_dot*Uzb/Patched_volume.

My simulation is unstable and diverges on k, epsilon, and vof. I believe the issue is the DOF of my simulation being 2 the mass flow rate and bubble velocity, M_dot and Uzb.


So to correct this issue I want to know the cells face area so I can back calculate mass flow rate leaving by bubble velocity as my input variable

m=Q*rhob

Q=A*vb

m=A*vb*rho
Attached Images
File Type: png Model.PNG (20.6 KB, 2 views)
AnthonyBowers 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
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 36 July 16, 2024 04:52
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
[swak4Foam] Installation Problem with OF 6 version Aurel OpenFOAM Community Contributions 14 November 18, 2020 17:18
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 11:11
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43


All times are GMT -4. The time now is 19:29.