CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   why my result is 100% decided by initialization? (https://www.cfd-online.com/Forums/cfx/89035-why-my-result-100-decided-initialization.html)

jiguozhao June 1, 2011 23:53

why my result is 100% decided by initialization?
 
Dear all:

i was trying to simulate a gas mixture(H2/Argon) going through a gas separation module. there is a change in H2 fraction(or Argon fraction) due to the selectivity of the membrane(more H2 is going through the membrane).
but the H2 fraction distribution result is 100% decided by my initial guess in initialization. if i set 0.1 as H2 fraction in initialization, i get 0.9925 at retentate outlet; if i set 0.3 as H2 fraction in initialiazation, i get 0.293072 at retentate; when i set 0.5 initially, i get 0.491635 at retentate; for setting 0.7 initially, i get 0.692509 finally. in all the cases above, the solving can converge to 10e-5. so which one is the really result?

(in experiment i think at the beginning it is transient state, but after 5 minutes or a little more, it reaches steady state. in the simulation i did steady state, one reason is that i just want to have a look at what is going on after 5 minutes, i do not care the first 5 minutes; another reason is my limited capability in cfx only allows me do steady state at the moment.the boundary at inlet is 1E-6kg/s and 0.7 H2 molar fraction, 0.3 molar fraction of Argon. retentate outlet is 500kpa pressure. the module is 1 meter long and about 0.3 meter in diameter.)
is there anyone can help me?

kind regards

Ji Guozhao
g.ji@uq.edu.au

baserinia June 2, 2011 13:23

You have not provided enough info; is the simulation steady-state or transient? What are the inlet boundary conditions?

jiguozhao June 2, 2011 17:57

Quote:

Originally Posted by baserinia (Post 310285)
You have not provided enough info; is the simulation steady-state or transient? What are the inlet boundary conditions?

thanks a lot for your care about my question!
to answer your first question, in experiment i think at the beginning it is transient state, but after 5 minutes or a little more, it reaches steady state. in the simulation i did steady state, one reason is that i just want to have a look at what is going on after 5 minutes, i do not care the first 5 minutes; another reason is my limited capability in cfx only allows me do steady state at the moment.

for the second question, the boundary at inlet is 1E-6kg/s and 0.7 H2 molar fraction, 0.3 molar fraction of Argon. retentate outlet is 500kpa pressure. the module is 1 meter long and about 0.3 meter in diameter.

thanks again!

stumpy June 3, 2011 09:30

Your timestep might be way too small.

baserinia June 3, 2011 12:06

This is indeed interesting! You said it takes five minutes or longer for the actual device to reach steady-state conditions. That means the diffusion time scale is much larger than the momentum time scale. So if you want to get a reasonable steady-state solution, you should use a larger time scale for the mass fraction equation. If you use the same time scale for momentum and mass fraction, the changes would be so small that CFX thinks the solution has converged.

jiguozhao June 4, 2011 07:18

Quote:

Originally Posted by baserinia (Post 310409)
This is indeed interesting! You said it takes five minutes or longer for the actual device to reach steady-state conditions. That means the diffusion time scale is much larger than the momentum time scale. So if you want to get a reasonable steady-state solution, you should use a larger time scale for the mass fraction equation. If you use the same time scale for momentum and mass fraction, the changes would be so small that CFX thinks the solution has converged.

Hi friend:

thank you for your answer!

i just set time scale in solver control, and i can just set one value.
can i set different time scale for different equations? if so, how can i set them separately?

thanks again!

Ji Guozhao


All times are GMT -4. The time now is 00:11.