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

How to set different physics timescales in two separted fluid domain?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 29, 2013, 11:15
Smile How to set different physics timescales in two separted fluid domain?
  #1
New Member
 
Qu Jianyu
Join Date: Nov 2013
Posts: 6
Rep Power: 3
qujianyu is on a distinguished road
The model is main about a heat transfer problem between water and hot gas, which are separated by a thin wall. Several question are listed below:
1, How to set different fluid property in seperated fluid domains?i.e. define water in water domain, gas in gas domain.not use multi_fluid mehod.
2, How to set different physics timescales in two separted fluid domain?
3, which boundary condition is proper for a infinite nature convection problem. How about setting all boundary condition with Opening boundary conditon and Opening pressure?
Thank you!
qujianyu is offline   Reply With Quote

Old   November 30, 2013, 05:56
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,795
Rep Power: 84
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
There are two methods to do this:
1) Use a multiphase simulation, and both side of the interface just have volume fractions of one pure phase or the other. If you set this to be a homogenous multiphase model the loss in this method will not be too much.
2) Use the expert parameter which allows different domains to have different physics - search the forum for the exact parameter name.

You cannot set different time scales for both side of the interface. If you are steady state you can use the local timescale factor which automatically does a similar thing, but make sure you use physical timescale steps in the final run to convergence.

I assume you mean a far-field boundary. THis can be done many ways depending on what factors you wish to model. In this case I suspect an opening might be approriate.
ghorrocks is offline   Reply With Quote

Old   November 30, 2013, 12:55
Default
  #3
Senior Member
 
Join Date: Jun 2009
Posts: 288
Rep Power: 9
Opaque is on a distinguished road
I will be using paths to refer to locations in the user interface.

1 - You can activate non-constant physics for fluid domains by opening the following tab: Outline/Case Options/General. Enable Beta Features, and deactivate Constant Domain Physics.
NOTE: from this point on, you MUST be extremely careful setting up your physics details since the software no longer enforce certain checks, and the CFX-Solver may drastically fail due to an invalid setup.

2 - For steady state cases, you can activate different timescales for each domain by opening Outline/Simulation/FlowAnalysis1/Domain:MyDomain. You will see there is a Solver Control tab within the Domain panel. You can activate Domain Solver Control and set specific values there. Those domains w/o local activation will continue using the global settings from Outline/Simulation/FlowAnalysis/Solver/Solver Control-->Basic Settings

NOTE: if you are familiar on how to set timescales for specific equations at the Outline/Simulation/FlowAnalysis/Solver/Solver Control-->Equation Class Settings tab, you can extrapolate how to do so for specific domains as well. However, such feature is not exposed in the user interface, but described in the documentation under CFX Solver Modeling Guide/Advice on Flow Modeling/Timestep selection.

Hope the above helps..
Opaque is offline   Reply With Quote

Old   December 1, 2013, 04:59
Default
  #4
New Member
 
Qu Jianyu
Join Date: Nov 2013
Posts: 6
Rep Power: 3
qujianyu is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
There are two methods to do this:
1) Use a multiphase simulation, and both side of the interface just have volume fractions of one pure phase or the other. If you set this to be a homogenous multiphase model the loss in this method will not be too much.
2) Use the expert parameter which allows different domains to have different physics - search the forum for the exact parameter name.

You cannot set different time scales for both side of the interface. If you are steady state you can use the local timescale factor which automatically does a similar thing, but make sure you use physical timescale steps in the final run to convergence.

I assume you mean a far-field boundary. THis can be done many ways depending on what factors you wish to model. In this case I suspect an opening might be approriate.
Hi,
Its really kind of you! I have finished the simulation with multiphase method, just as your first advise. As for the physical timescale, I chose a smaller one to avoid bounce convergence, but costs almost 2000 time steps to reach the convergence criterion. It is acceptable for me. Thank you very much!
Someone told me all the boundary set to opening pressure boundary may cause initial value dependent result. Have you ever done the similar simulation before?
qujianyu is offline   Reply With Quote

Old   December 1, 2013, 05:32
Default
  #5
New Member
 
Qu Jianyu
Join Date: Nov 2013
Posts: 6
Rep Power: 3
qujianyu is on a distinguished road
Quote:
Originally Posted by Opaque View Post
I will be using paths to refer to locations in the user interface.

1 - You can activate non-constant physics for fluid domains by opening the following tab: Outline/Case Options/General. Enable Beta Features, and deactivate Constant Domain Physics.
NOTE: from this point on, you MUST be extremely careful setting up your physics details since the software no longer enforce certain checks, and the CFX-Solver may drastically fail due to an invalid setup.

2 - For steady state cases, you can activate different timescales for each domain by opening Outline/Simulation/FlowAnalysis1/Domain:MyDomain. You will see there is a Solver Control tab within the Domain panel. You can activate Domain Solver Control and set specific values there. Those domains w/o local activation will continue using the global settings from Outline/Simulation/FlowAnalysis/Solver/Solver Control-->Basic Settings

NOTE: if you are familiar on how to set timescales for specific equations at the Outline/Simulation/FlowAnalysis/Solver/Solver Control-->Equation Class Settings tab, you can extrapolate how to do so for specific domains as well. However, such feature is not exposed in the user interface, but described in the documentation under CFX Solver Modeling Guide/Advice on Flow Modeling/Timestep selection.

Hope the above helps..
Hi,
It is a miracle! Beta Feature works well, Thank you very much. Have you ever done a steady state simulation with different physical timescale for separated fluid domains, or for each equation? How about the result? Is it necessary to finish the simulation with the same physical timescale? In my case. It is a natural convection heat transfer problem. The temperature rise of concern is 19K by the same physical timescale, but 16K by different physical timescale for specific equation. What should be noted is I apply opening pressure to all boundary in order to simulate the infinite situation. Could you give me some advises about the boundary condition? Thank you again.
qujianyu is offline   Reply With Quote

Reply

Tags
nature convection, timescale

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
determining displacement for added points CFDnewbie147 OpenFOAM Native Meshers: snappyHexMesh and Others 1 October 22, 2013 09:53
Error Message after switching to multi domain physics chili023 CFX 3 June 5, 2010 05:28
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Altering properties of fluid within the domain Nikhil Dani FLUENT 3 December 12, 2008 05:26
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


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