|
[Sponsors] |
January 15, 2015, 13:33 |
Defining fluid in domain
|
#1 |
Member
Prateek
Join Date: Mar 2012
Location: Bangalore
Posts: 32
Rep Power: 14 |
Hi there,
I am Prateek, I am trying to simulate reacting flow in a shock tube. I have two shock tubes with a diaphragm in between, first is closed at one end and second one is open to air. Now the problem is I want to define first tube with H2-O2 reacting mixture at 50 atm and another tube that is other side of diaphragm with air at STP. I want that when the simulation starts at t=0 the reaction starts at closed end and diaphragm get ruptured and flows starts in another tube due to pressure difference. I have taken boundary between two shock tubes as domain interface due to which I cant specify different fluid in two domains connected via interface. So, how can I specify different fluid in differnt domain and getting fluid flowing from one tube to another. CFX shows error saying H2 O2 must be present in this domain too. So, please help me what shud I do to proceed from here. It wud be a great help. |
|
January 15, 2015, 15:47 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32 |
A "fluid" in ANSYS CFX is a modeling abstraction for mixture, liquid, gases, etc. You should benefit from reading the documentation and understand how ANSYS CFX defines and uses the concepts of fluids, solids and materials.
For your specific setup, you can do it with a single fluid by creating a non-reacting mixture made of H2-O2-AirSTP. Then, on side 1 you define non-zero mass fractions for H2-O2, and zero for AirSTP. On side 2 you do the opposite and you should be set. Notice that side 1, and side 2 could be within the same domain. For initializing mesh regions within the same domain, you should read about the "inside()@REGION:mesh name" functionality as well. Hope the above helps, |
|
January 15, 2015, 20:57 |
Thanks a lot!
|
#3 |
Member
Prateek
Join Date: Mar 2012
Location: Bangalore
Posts: 32
Rep Power: 14 |
Thanks a lot Opaque. I will try and get back to u soon.
|
|
January 16, 2015, 08:13 |
another problem
|
#4 |
Member
Prateek
Join Date: Mar 2012
Location: Bangalore
Posts: 32
Rep Power: 14 |
There is another problem came up...if someone can help me finding the possible solution for this
****** Notice ****** | | Newtons method failed to converge in 150 iterations. This | | occurred while computing the following variable: | | | | Variable Name : Total Pressure | | Location Name : coldzone | | Mesh location : VERTICES | | Mesh entity : | | Last 3 Changes : 1.59880E+01 1.59880E+01 1.59880E+01 | | Tolerance : 1.0000E+00 | | | | The Newton iteration was either slowly converging or has stalled. | | The solver will continue with the variable set as it was on the | | final iteration. If this situation continues you might try | | increasing the number of iterations allowed for Newtons method. | | This can be changed by setting one of the parameters: | | | | Temperature : "Constitutive Relation Iteration Limit" | | Pressure : "Newton Pressure Iteration Limit" | | | | for your mixture using the definition file editor. | +--------------------------------------------------------------------+ +--------------------------------------------------------------------+ | ****** Notice ****** | | While evaluating | | Total Pressure | | on domain "reactionzone", | | the variable | | Absolute Pressure | | went outside of its upper limit. Its maximum value was | | 5.1679E+06. The bounds error was handled by clipping. | | If this situation persists, consider increasing the table range |
|
January 16, 2015, 11:48 |
|
#5 |
Member
Prateek
Join Date: Mar 2012
Location: Bangalore
Posts: 32
Rep Power: 14 |
Can u help me regarding this error?
****** Notice ****** | | Newtons method failed to converge in 150 iterations. This | | occurred while computing the following variable: | | | | Variable Name : Total Pressure | | Location Name : coldzone | | Mesh location : VERTICES | | Mesh entity : | | Last 3 Changes : 1.59880E+01 1.59880E+01 1.59880E+01 | | Tolerance : 1.0000E+00 | | | | The Newton iteration was either slowly converging or has stalled. | | The solver will continue with the variable set as it was on the | | final iteration. If this situation continues you might try | | increasing the number of iterations allowed for Newtons method. | | This can be changed by setting one of the parameters: | | | | Temperature : "Constitutive Relation Iteration Limit" | | Pressure : "Newton Pressure Iteration Limit" | | | | for your mixture using the definition file editor. | +--------------------------------------------------------------------+ +--------------------------------------------------------------------+ | ****** Notice ****** | | While evaluating | | Total Pressure | | on domain "reactionzone", | | the variable | | Absolute Pressure | | went outside of its upper limit. Its maximum value was | | 5.1679E+06. The bounds error was handled by clipping. | | If this situation persists, consider increasing the table range |
|
January 16, 2015, 12:05 |
|
#6 |
Senior Member
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32 |
This is a warning. As long as the solution converges, you should be fine.
What kind of boundary conditions do you have ? It seems there is a total pressure to static pressure conversion based on the message. Did you follow the suggestions in the warning ? |
|
January 17, 2015, 05:25 |
|
#7 |
Member
Prateek
Join Date: Mar 2012
Location: Bangalore
Posts: 32
Rep Power: 14 |
I initialised the first domain with 50 atm and another domain i.e the other side of the diaphragm is at 1 atm and the reference pressure in both the cases is 0 atm.
|
|
January 18, 2015, 05:58 |
|
#8 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
In general the Newton's method solver problem indicates poor numerical stability. The approaches described in this FAQ are therefore relevant: http://www.cfd-online.com/Wiki/Ansys...do_about_it.3F
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Interface between fluid domain and porous domain | windhair | CFX | 6 | May 10, 2018 14:26 |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 05:57 |
Can CFX do CHT simulations with a solid domain rotating in a stationary fluid domain? | acro | CFX | 15 | September 23, 2016 11:16 |
Defining Domain Interface | Saikiran | CFX | 1 | November 7, 2010 17:40 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 09:11 |