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

Mass Transfer: save results for the expressions from every solver step?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2014, 10:11
Default Mass Transfer: save results for the expressions from every solver step?
  #1
New Member
 
Join Date: Mar 2014
Posts: 7
Rep Power: 12
AliLemprex is on a distinguished road
Hello everyone,

I am currently encountering a problem in CFX while modelling mass transfer in a fiber bundle.
Flow has been calculated beforehand and is given as initial values file so the solver will only solve mass transfer equations.
Boundary conditions are the inlet concentration and initial concentration in the fluid. Mass transfer shall occur from fibers to the fluid.
My diffusion coefficient for mass transfer is being calculated from current concentration values.

After a few solver steps, concentration drops below zero though and the solver will abort. Has anyone else ever encountered a similar phenomenon and could give any impulses on how to resolve this issue?

I have tried to get an insight on why my values drop all of a sudden and would like to save the solver results for several expressions from every solver step. Is there a possibility to do so?

Thank you very much!
AliLemprex is offline   Reply With Quote

Old   August 11, 2014, 19:52
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This question is essentially this FAQ: http://www.cfd-online.com/Wiki/Ansys...do_about_it.3F
ghorrocks is offline   Reply With Quote

Old   August 15, 2014, 09:44
Default
  #3
New Member
 
Join Date: Mar 2014
Posts: 7
Rep Power: 12
AliLemprex is on a distinguished road
Thanks Glenn, but my initial problem would be a bit different from what I find in the FAQ.

For my mass diffusion coefficient, I need to calculate some other values, one of which is my concentration. At some point my concentration is changing to negative values. This causes the solver to quit.

I have achieved solutions with the same set of equations and boundary conditions, but on other geometry.

CFX post fails to point out problematic regions, so I would like to get an output of several expression values for each solver step to help identify where my problem may lie. Are there any strategies on how to tackle such a problem?

Thanks again!
AliLemprex is offline   Reply With Quote

Old   August 17, 2014, 07:29
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your problem is your simulation is numerically unstable and liable to diverge. The FAQ gives tips on how to deal with numerical instability.

If you have had similar models run successfully before then either the new geometry has introduced a new flow feature which is harder to solve (maybe a choked flow point, or a higher Reynolds number or some other non-linearity) - or more likely your mesh quality on the new geometry is poorer quality.

So I recommend you improve your mesh quality - this always helps.

If you want CFX to point out problem regions then add residuals to your output file and save a results file just before it crashes. You should see high residuals in the problem region.
ghorrocks is offline   Reply With Quote

Old   August 18, 2014, 09:55
Default
  #5
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Based on your description, I assume you are solving the "mass transfer" problem using additional variables, and not the multicomponent material/fluid approach.

If the material composition creates density gradient different from the ones used to solve the previous fluid flow conditions, the results of this combination is unreliable at best. If the density gradients are different between simulations, and you are no longer solving the fluid flow (momentum + mass conservation), the mass conservation is not being satisfied in your new simulation.
Opaque 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
Error message: Insufficient Catalogue Size Paresh Jain CFX 33 August 16, 2024 06:09
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 11:08
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
Source terms due to mass transfer in VOF model ssamton FLUENT 0 March 5, 2012 01:03
How to calculate Volumetric Mass transfer coefficient using CFX? tuks_123 CFX 2 July 22, 2010 02:15


All times are GMT -4. The time now is 17:23.