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

Non-Equilibrium Condensing in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 9, 2023, 06:54
Default Non-Equilibrium Condensing in CFX
  #1
New Member
 
Alex Ji
Join Date: Oct 2023
Posts: 8
Rep Power: 2
turbo-cfder is on a distinguished road
In cfx, there is an inherent homogeneous classical condensation equation. I can use it normally following the instructions in the tutorial. But I am preparing to proceed with the next step by writing a new condensation equation. So I first tried to write an equation that is the same as the built-in equation of CFX for simulation. This way, I can know if the equation I wrote myself is correct. Unfortunately, the equation I wrote did not calculate the correct result.The correct result is approximately 1e26, while my result is only around 1e6. I carefully checked my equations but didn't find any problems. May I ask if anyone knows where I went wrong? If the information I have submitted is not enough, please let me know and I will add some more. Thank you very much.
Attached Images
File Type: jpg the JCL expression.jpg (14.4 KB, 13 views)
File Type: jpg my JCL expression.jpg (43.8 KB, 12 views)
File Type: jpg nucleation rate with my JCL.jpg (69.6 KB, 6 views)
File Type: jpg nucleation rate with CFX JCL.jpg (67.6 KB, 4 views)
turbo-cfder is offline   Reply With Quote

Old   November 9, 2023, 17:37
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I suspect the built-in equations are linearised and have other numerical treatments so they converge better. You do not get that when you write your own equation in CEL. So it is possible the difference is just numerical.

Have you tried things which will give you better numerical accuracy, like:
* tighter convergence
* finer mesh
* double precision numerics
* More accurate discretisation schemes (both space and time - if relevant)
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   November 10, 2023, 04:52
Default
  #3
New Member
 
Alex Ji
Join Date: Oct 2023
Posts: 8
Rep Power: 2
turbo-cfder is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
I suspect the built-in equations are linearised and have other numerical treatments so they converge better. You do not get that when you write your own equation in CEL. So it is possible the difference is just numerical.

Have you tried things which will give you better numerical accuracy, like:
* tighter convergence
* finer mesh
* double precision numerics
* More accurate discretisation schemes (both space and time - if relevant)
Thank you very much for your reply. In fact,I can converge during the simulation using both equations (RMS 1E-5). In addition, the results calculated by the CFX built-in equation are the same as those in the literature, so I believe the mesh meets the requirements. I don't know if there was an error in the CEL nucleation rate equation I wrote or if other operations were missing, which is currently my biggest confusion.
turbo-cfder is offline   Reply With Quote

Old   November 10, 2023, 05:32
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you are matching the literature results with the CFX model that sounds like your model is accurate which is good.

The equation you show on your first post - where did you get that from? Is it from the CFX documentation? If so, which equation number?

Also, which version of CFX are you using?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   November 10, 2023, 08:49
Default
  #5
Senior Member
 
Join Date: Jun 2009
Posts: 1,850
Rep Power: 33
Opaque will become famous soon enough
Quote:
Originally Posted by turbo-cfder View Post
Thank you very much for your reply. In fact,I can converge during the simulation using both equations (RMS 1E-5). In addition, the results calculated by the CFX built-in equation are the same as those in the literature, so I believe the mesh meets the requirements. I don't know if there was an error in the CEL nucleation rate equation I wrote or if other operations were missing, which is currently my biggest confusion.
If you already have meaningful results, you should be able to evaluate your expression in CFD-Post using the existing fields until you find what is missing from the equation.

Typically, unit consistency or scaling of a variable (normalized?)
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   November 12, 2023, 00:42
Default
  #6
New Member
 
Alex Ji
Join Date: Oct 2023
Posts: 8
Rep Power: 2
turbo-cfder is on a distinguished road
Quote:
Originally Posted by Opaque View Post
If you already have meaningful results, you should be able to evaluate your expression in CFD-Post using the existing fields until you find what is missing from the equation.

Typically, unit consistency or scaling of a variable (normalized?)
This sounds like a very effective suggestion, I will give it a try. Thank you for your reply
turbo-cfder is offline   Reply With Quote

Old   November 12, 2023, 01:31
Default
  #7
New Member
 
Alex Ji
Join Date: Oct 2023
Posts: 8
Rep Power: 2
turbo-cfder is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If you are matching the literature results with the CFX model that sounds like your model is accurate which is good.

The equation you show on your first post - where did you get that from? Is it from the CFX documentation? If so, which equation number?

Also, which version of CFX are you using?
actually,only the result with CFX built in model is basically matching with the literature。.When I use the nucleation model I defined, the results are quite biased, even though I follow the same equation.The equation is from the literature which is "Modelling of condensing steam flows in Laval nozzles with ANSYS CFX".CFX documentation mentioned it in “Ansys CFX-Solver Theory Guide” which equation number is 5.280.these two equations look a bit different,but i think they are the same.The CFX vision is 2022R1.I expect you can give me some advise.
best wishes
turbo-cfder is offline   Reply With Quote

Old   November 12, 2023, 03:02
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,816
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The equation you quoted in post #1 looks quite different to eqn 5-280 in the theory manual. Eqn 5-280 is J = A.exp(-(delta)G*/k.Tg).

I do not have time to check your equation in detail, but are you sure the leading terms in your equation are equivalent to A in 5-280? And (delta)G* is in eqn 5-272 and does not look like your exponential function. Are you sure the exponential term is correct?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Reply

Tags
condensing, non-equilibrium


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
Ask for help: CFX solution error novice_han CFX 3 December 6, 2021 07:10
Ansys CFX condensing flows maheshchamarti CFX 3 August 28, 2019 11:22
Modify SST kw model in CFX Tingyun YIN CFX 6 May 12, 2017 06:44
CFX pressure in Simulations problem nasdak CFX 1 April 14, 2010 13:22
PhD using CFX Rui CFX 9 May 28, 2007 05:59


All times are GMT -4. The time now is 22:18.