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

Is there a way to know what equations is being used in a case?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2019, 18:35
Default Is there a way to know what equations is being used in a case?
  #1
Member
 
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 6
lordluan is on a distinguished road
Hi there, I am new in CFD and I am studying it by myself. And I have some questions.

I know that I can look at the theory guide and try to relate the options to the equations. But Is there a simple way of doing it?

Also I am confused with adding source terms and others expressions. If I looked at the literature and saw a set of equations that I should use, how can I know make the relation between the variables which are already avalaible in CFX and expressions I need to add?

I'm reading the tutorials to see if I understand how to make the relations I mencioned above, but so far, I couldn't understand.

Thanks in Advance

Luan
lordluan is offline   Reply With Quote

Old   August 3, 2019, 23:12
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The documentation is the only place you will find what the underlying equations are.

Source terms - you just have to match up the variables and derive expressions for ones which are not available. Again, there is no shortcuts.
lordluan likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is online now   Reply With Quote

Old   August 4, 2019, 02:43
Default
  #3
Member
 
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 6
lordluan is on a distinguished road
Thanks a lot!
lordluan is offline   Reply With Quote

Old   August 20, 2019, 10:19
Default
  #4
Member
 
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 6
lordluan is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The documentation is the only place you will find what the underlying equations are.

Source terms - you just have to match up the variables and derive expressions for ones which are not available. Again, there is no shortcuts.
Ghorrocks, the available mass transport equation available in CFX is the continuity equation? This is what a could understand from the documentation. If I want to simulate a mass transfer I ought to add mass source terms to the continuity equation? I am reading the documentation, but I am lost in adding the source terms.
lordluan is offline   Reply With Quote

Old   August 20, 2019, 13:39
Default
  #5
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
A description is key here. The word mass transport is used in many contexts; therefore, it is not clear what you are trying to achieve.

Since you already have a set of equations in mind from some publication, post the equations you would like to solve and here we can try to guide on how those equations are presented in ANSYS CFX.
Opaque is offline   Reply With Quote

Old   August 21, 2019, 10:15
Default
  #6
Member
 
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 6
lordluan is on a distinguished road
Quote:
Originally Posted by Opaque View Post
A description is key here. The word mass transport is used in many contexts; therefore, it is not clear what you are trying to achieve.

Since you already have a set of equations in mind from some publication, post the equations you would like to solve and here we can try to guide on how those equations are presented in ANSYS CFX.
Thanks very much for answering.

I am modelling a 3D adsorption which have different equations that could be used. In the adsorption I have a packed bed which is percolated by multicomponent fluid.
1. (see the attachment) The mass balance equation in CFX documentation doesn't have a source term (the whole equation is equal to 0). I created a variable composition mixture of gases to be my multicomponent fluid, the equations CFX will use to solve are similar to those attached? I will associate the specific aspects of adsorption using the source term of the mass balance equation. The equation for the momentum balance is clearer.

I am reading the documentation, but I couldn't figure out this aspect of the problem.
Attached Images
File Type: png mass_adsorption.PNG (11.0 KB, 17 views)
lordluan is offline   Reply With Quote

Old   August 21, 2019, 11:58
Default
  #7
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
Based on those equation, check the documentation and tutorials for "Multicomponent Flow".

Learn how to create a variable composition mixture material
Select that material as your fluid at the domain level
add the diffusion coefficient for each material component (recall diffusion in the mixture)
Set the proper boundary conditions for the material components at inlets if any.

Unfortunately, ANSYS CFX only supports zero flux boundary condition at walls. Your description does not show with boundary conditions you require.

If the material components are just transported by the flow, and diffused, you should be fine at this point. If material components are generated, or consumed, the you need to set a reaction mechanism describing such process.

Hope you can move forward with the above information. Let us know how it goes.
Opaque is offline   Reply With Quote

Old   August 21, 2019, 12:38
Default
  #8
Member
 
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 6
lordluan is on a distinguished road
Thanks for the help!

With adsorption one of the components will be "consumed" by the surface of the porous solid as the flow percolates it. I read the tutorial reacting flow in a mixture tube. But tua tutorial doesn't explain the connection between the sources created to the equations that are available by default um CFX.
If CFX has the governing equation that I want to add. Are there a variable name by default which I have to use (for momentum, mass and energy governe equations)? I've already looked at CFX-pre guide.
lordluan is offline   Reply With Quote

Old   August 21, 2019, 18:23
Default
  #9
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
The active equations are presented in the Domain panel:

For a fluid/porous domain:
- the continuity and momentum are active by default.
- you must decide if the energy equation is needed (I guess it is for your case), and select the appropriate model, Thermal or Total (read the documentation guidelines)
- The continuity for the species are presented as Component Details, and you must select a ballast/constrain material. See the panel for details, and set Diffusion coefficient appropriately.

By now, you should be set with the equations in the interior.

For the adsorption at the boundary, open the boundary panel and set a boundary mass source/sink using the continuity equation listed there. The panel will guide you through what data is required. You should know how the adsorption depends on other parameters and determine the adsorption rate.
Opaque is offline   Reply With Quote

Old   August 22, 2019, 09:38
Default
  #10
Member
 
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 6
lordluan is on a distinguished road
Quote:
Originally Posted by Opaque View Post
The active equations are presented in the Domain panel:

For a fluid/porous domain:
- the continuity and momentum are active by default.
- you must decide if the energy equation is needed (I guess it is for your case), and select the appropriate model, Thermal or Total (read the documentation guidelines)
- The continuity for the species are presented as Component Details, and you must select a ballast/constrain material. See the panel for details, and set Diffusion coefficient appropriately.

By now, you should be set with the equations in the interior.

For the adsorption at the boundary, open the boundary panel and set a boundary mass source/sink using the continuity equation listed there. The panel will guide you through what data is required. You should know how the adsorption depends on other parameters and determine the adsorption rate.
Opaque, thank you very much for the incredible help.
Soon, I'll post my results.
lordluan is offline   Reply With Quote

Old   September 9, 2019, 10:22
Default
  #11
Member
 
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 6
lordluan is on a distinguished road
Is it possible to add a source term to the continuity equation in ANSYS CFX? In solver theory guide the continuity equation is set to be equal to 0, but in some papers related to phenomena I want to model, the continuity equation is set to be equal to a mass source term.
lordluan is offline   Reply With Quote

Old   September 9, 2019, 10:33
Default
  #12
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
Check the documentation for sources

There is a way to add sources to continuity equation, which automatically adds the contribution to the other equations as well.
Opaque is offline   Reply With Quote

Old   October 15, 2019, 11:31
Default
  #13
Member
 
Lucas
Join Date: May 2019
Posts: 41
Rep Power: 6
lordluan is on a distinguished road
Quote:
Originally Posted by Opaque View Post
Check the documentation for sources

There is a way to add sources to continuity equation, which automatically adds the contribution to the other equations as well.
Hello, so far I've created a subdomain which covers all my domain. In the subdomains options I went to Sources and Toggled on the continuity equation. But, as stated in the documentation I have to add not only my mass source equation, but also other info like velocity, mass fraction, turbulence eddy dissipation and others, what got me really confused. But I'm working on it.

Thanks in advance

Last edited by lordluan; October 15, 2019 at 11:45. Reason: I edited because I found a possible answer to my question
lordluan 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
Dual-Element Front Wing Case Using SST K-OMEGA TURBULENCE MODEL Jesus.M OpenFOAM Running, Solving & CFD 1 December 14, 2020 13:48
Reporting a bug in Allrun script on wingMotion case i.sabahi OpenFOAM Bugs 0 June 10, 2018 09:00
Simple channel case using cyclicAMI will not converge cbcoutinho OpenFOAM Running, Solving & CFD 3 August 4, 2015 12:28
CFD Post - How to check for case in an expression pilakin ANSYS 0 September 26, 2014 04:44
Transient case running with a super computer microfin FLUENT 0 March 31, 2009 11:20


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