CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Iterative boundary condition

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 4, 2016, 00:33
Default Iterative boundary condition
Zhiheng Wang
Join Date: Mar 2016
Posts: 56
Rep Power: 3
Zhiheng Wang is on a distinguished road
I have gone through all your suggestions about egassing BC I am trying to built BC based on Evaporation.

I am writting an interface condition for inlet where liquid converts to gas Method is very simple

1. first i have assume inlet temp 10k below boiling temp say Ts=290 and Tb=300
2.Then calculation XFs=exp((-hfg*Mw/Ru)((1/Ts)-(1/Tb)) Basic Clausious Claeperon hfg latent heat , Ru gas constant, Mw molecular weight of liquid.
3.Using Xfs we can find Yfs=(Xfs*Mw)/Mw,mix , Mw,mix is molecular weight of liquid
4.By using Yfs we can calculate velocity Us=diff*(gradYf)/(1-Yf).
5.We check that our assumed Ts value is right or not using gradTs = rho*Us*hfg/k.
If assumed Ts is write, Ts will be the boundary condition temp of inlet else it will go to re-iterate. until Ts=0.98Tb.

I can also send you code of c++ i tried and code of codestram can you plz help regarding this. Can we use for loop in groovy BC???

please send your valuable suggestions

Zhiheng Wang is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Centrifugal fan j0hnny CFX 12 January 7, 2016 03:44
sliding mesh problem in CFX Saima CFX 45 September 22, 2015 10:53
Accessing multiple boundary patches from a custom boundary condition file ripudaman OpenFOAM Programming & Development 0 October 22, 2014 18:34
Radiation interface hinca CFX 15 January 26, 2014 18:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44

All times are GMT -4. The time now is 09:03.