|
[Sponsors] |
The replication of Zwart cavitation model using CEL languages |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2017, 16:43 |
The replication of Zwart cavitation model using CEL languages
|
#1 |
New Member
linlin.geng
Join Date: Oct 2017
Posts: 22
Rep Power: 9 |
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 |
|
October 29, 2017, 18:23 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cavitation in Pure Ethanol | Pugnax | CFX | 4 | June 18, 2015 21:19 |
CFX Cavitation Model | kimotbwb | CFX | 10 | November 12, 2013 22:24 |
Errorin subroutine appeared when applying cavitation model | pitisrisuk | CFX | 1 | July 2, 2012 04:36 |
Cavitation model with non-isothermal flow | pitisrisuk | CFX | 0 | July 14, 2009 15:30 |
Cavitation Model Validation | Neil | Main CFD Forum | 0 | January 8, 2004 09:47 |