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

The replication of Zwart cavitation model using CEL languages

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 29, 2017, 15:43
Question The replication of Zwart cavitation model using CEL languages
  #1
New Member
 
linlin.geng
Join Date: Oct 2017
Posts: 22
Rep Power: 8
linlin.geng is on a distinguished road
I want to reproduce the mass transfer rate of Zwart cavitation model using the CEL language. the following languages is CEL which were used to replicate the cavitation model of Zwart.

If = if(pabsnc>=3574[kg m^-1 s^-2], pabsnc-3574[kg m^-1 s^-2], 3574[kg m^-1 s^-2]-pabsnc)
Rob = 0.000001[m]
F1 = sqrt((2/3)*(If /Water.density))
Cond = 0.01*3*Vapor.vf*Vapor.densitync*F1 /Rob
Vap = 50*3*0.0005*(1-Vapor.vf)*Vapor.densitync*F1 /Rob
Mass transfer = Vap -Cond

but when i do the solve-process, the computation will diverage quickly. i do not know why. please give me some help. thanks a lot
linlin.geng is offline   Reply With Quote

Old   October 29, 2017, 17:23
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
First of all, does the simulation run correctly when you use the built in cavitation model?

If that is OK then do some basic debugging:

Send each of these variables to a user variable, defined to be CEL and set to the value of each of your expressions. Change your output file to write the results file every iteration. I would also add the residuals to the results file as that might have useful information as well.

Then rerun the simulation until it crashes. Look at the results file and check all your variables are the expected values.
ghorrocks 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
Cavitation in Pure Ethanol Pugnax CFX 4 June 18, 2015 20:19
CFX Cavitation Model kimotbwb CFX 10 November 12, 2013 21:24
Errorin subroutine appeared when applying cavitation model pitisrisuk CFX 1 July 2, 2012 03:36
Cavitation model with non-isothermal flow pitisrisuk CFX 0 July 14, 2009 14:30
Cavitation Model Validation Neil Main CFD Forum 0 January 8, 2004 08:47


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