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

periodic boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2022, 03:47
Post periodic boundary condition
  #1
New Member
 
Elmahdy
Join Date: Apr 2022
Posts: 6
Rep Power: 4
mostafu is on a distinguished road
Hello everyone,

I have made a pipe with a periodic boundary condition (translational) and when I define a mass flow rate, everything goes fine and I can get the pressure drop. However, I have a problem where I want to define a pressure gradient this time and get the mass flow rate as an output. The mass flow rate box gets de-activated, I cannot initialize the problem from the periodic boundary, the convergence is too slow, and finally I cannot get the mass flow rate unless I go to the reports and get the number, which turned out to be away lower than the expected and totally wrong. Does anyone have an idea why this happens?
mostafu is offline   Reply With Quote

Old   April 30, 2022, 20:07
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You should be retrieving mass flow rate from a report. You shouldn't be initializing from a periodic boundary, use standard initialization and and directly give the fields. The convergence is not any slower, it's just your initialization is off. All working as intended.
LuckyTran is offline   Reply With Quote

Old   May 1, 2022, 04:12
Default
  #3
New Member
 
Elmahdy
Join Date: Apr 2022
Posts: 6
Rep Power: 4
mostafu is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
You should be retrieving mass flow rate from a report. You shouldn't be initializing from a periodic boundary, use standard initialization and and directly give the fields. The convergence is not any slower, it's just your initialization is off. All working as intended.
Thanks a lot for the answer, that makes sense. I have another question if you don't mind. Can I solve with the same approach for multiphase, it seems to work (by defining only pressure gradient, not mass flow). However, I cannot reach flow separation or any other 2 phase phenomenon and the flow is totally homogeneous at the end of the run. Do you have an idea how I can do it in the right way?
mostafu is offline   Reply With Quote

Old   May 1, 2022, 16:34
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,675
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You seem to be under the impression that they are somehow different. The archetype of the periodic BC is the pressure gradient. The mass flow option is the same BC using a pressure gradient, but Fluent iterates the pressure gradient until the set massflowrate is achieved. If it can be done with massflow rate, then it can definitely be done using the pressure gradient approach. If it doesn't work with a pressure gradient then it definitely won't work with the massflow option.
LuckyTran is offline   Reply With Quote

Old   May 2, 2022, 01:58
Default
  #5
New Member
 
Elmahdy
Join Date: Apr 2022
Posts: 6
Rep Power: 4
mostafu is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
You seem to be under the impression that they are somehow different. The archetype of the periodic BC is the pressure gradient. The mass flow option is the same BC using a pressure gradient, but Fluent iterates the pressure gradient until the set massflowrate is achieved. If it can be done with massflow rate, then it can definitely be done using the pressure gradient approach. If it doesn't work with a pressure gradient then it definitely won't work with the massflow option.
Yes yes i got this point, it might be my initial values are a bit odd. But I am wondering if that can be used with multiphase also (VOF)? To get a fully developed flow there.
mostafu 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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
Turbomachinery Mass imbalance sheaker CFX 12 September 5, 2019 08:09
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 04:39
Unsteady Periodic Boundary Condition EMolina SU2 0 July 24, 2014 16:16
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00


All times are GMT -4. The time now is 06:43.