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   January 15, 2012, 09:52
Default periodic boundary condition
  #1
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 14
fferroni is on a distinguished road
Hello.

I'm trying to simulate a fully developed flow of a pipe cross-section. Instead of simulating the whole 3D pipe (which is straight), it'd be more efficient to simulate the 2D cross section.

I know one must use periodic boundary conditions, but I don't know how to set this in FLUENT. A previous thread mentioned a TUI command, but I get some errors using that. If someone could kindly walk me through it.

Thank you,

Regards,

F
fferroni is offline   Reply With Quote

Old   January 15, 2012, 10:07
Default
  #2
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 26
ghost82 will become famous soon enough
Hi,
assuming that you have your mesh built with corrected boundaries, in fluent, in the boundary condition panel, select the periodic zone and click set and choose "rotational".
This is enough to start the computation.

For post processing, if you want to view the whole domain instead of a slice, click on display->views, under periodic repeats click define; in periodic type select rotational; if you have 1/4 pipe write -45 in angle, and 4 in number of repeats; in axis direction put 1 as Z (assuming that the axis of the tube is in z direction).
Click the set button.

Daniele
ghost82 is offline   Reply With Quote

Old   January 15, 2012, 10:08
Default
  #3
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
if you are modeling as 2d, then go for axisymetric and no need of periodic bc
Far is offline   Reply With Quote

Old   January 15, 2012, 14:16
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,673
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Use this command (type it into the command window):

/define/boundary-conditions/modify-zones make-periodic

Then follow the prompts and enter the appropriate values. This is the only way to create a periodic interface in fluent. There is no way to do it on the GUI (yet).

Check out the fluent help file for more information on TUI commands.
LuckyTran is offline   Reply With Quote

Old   January 15, 2012, 16:17
Default
  #5
Senior Member
 
ghost82's Avatar
 
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 26
ghost82 will become famous soon enough
Quote:
Originally Posted by LuckyTran View Post
Use this command (type it into the command window):

/define/boundary-conditions/modify-zones make-periodic

Then follow the prompts and enter the appropriate values. This is the only way to create a periodic interface in fluent. There is no way to do it on the GUI (yet).

Check out the fluent help file for more information on TUI commands.
Hi LuckyTran,
are you stating that

"in fluent, in the boundary condition panel, select the periodic zone and click set and choose "rotational".
This is enough to start the computation."

will not compute the domain as periodic?

Thank you
ghost82 is offline   Reply With Quote

Old   January 15, 2012, 17:18
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,673
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by ghost82 View Post
Hi LuckyTran,
are you stating that

"in fluent, in the boundary condition panel, select the periodic zone and click set and choose "rotational".
This is enough to start the computation."

will not compute the domain as periodic?

Thank you
My last were comments on how to create a periodic zone since it requires a TUI command. That is, there is no periodic zone in the boundary conditions panel until you have created it.
Once the periodic zone is in the boundary conditions panel. You can do as you have said and that will be enough.
LuckyTran is offline   Reply With Quote

Old   January 16, 2012, 03:25
Default
  #7
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 14
fferroni is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Use this command (type it into the command window):

/define/boundary-conditions/modify-zones make-periodic

Then follow the prompts and enter the appropriate values. This is the only way to create a periodic interface in fluent. There is no way to do it on the GUI (yet).

Check out the fluent help file for more information on TUI commands.
I tried doing that TUI command. However, it asks me things like "shadow zone" and other info that I don't really know the meaning of. I tried to play around with it but it gives me erros.

Perhaps I don't have a correct mesh?

Also, I would like to have a full cross section of the pipe (although square), I would later like to add some thermal asymmetric boundary conditions...

Kind Regards,

Francesco
fferroni is offline   Reply With Quote

Old   January 16, 2012, 04:12
Default Post a Pic
  #8
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
post a pic of your meshed model and show where you want to apply periodic boudary condition
Far is offline   Reply With Quote

Old   January 16, 2012, 11:10
Default
  #9
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,673
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by fferroni View Post
I tried doing that TUI command. However, it asks me things like "shadow zone" and other info that I don't really know the meaning of. I tried to play around with it but it gives me erros.

Perhaps I don't have a correct mesh?

Also, I would like to have a full cross section of the pipe (although square), I would later like to add some thermal asymmetric boundary conditions...

Kind Regards,

Francesco
It will ask for the the first zone and then a shadow zone. These are the two zones that will receive the periodic mapping. The solution from the original zone will be mapped directly onto the shadow zone and the velocity profiles will be preserved across these two zones.

For rotationally periodic meshes (the axis of rotation must like on the x-axis) and the entirety of the mesh must lie above the y=0 line (positive y region). Thees are restrictions placed by fluent.

If your axis of rotation is not compatible, it will likely throw an error saying it could match 0 out of ### faces for each zone.

You may need to regenerate your mesh to these restrictions. Also, it is better to create a conformal mesh on the two periodic faces so that additional interpolation steps are not needed during the solution calculation. When you run the TUI command, it will print out how many of the faces could be matched, and if the matching was conformal or not.
LuckyTran is offline   Reply With Quote

Old   January 18, 2012, 04:54
Default
  #10
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 14
fferroni is on a distinguished road
Quote:
Originally Posted by Far View Post
post a pic of your meshed model and show where you want to apply periodic boudary condition
Here it is.
Attached Images
File Type: jpg Capture.jpg (24.4 KB, 72 views)
fferroni is offline   Reply With Quote

Old   January 18, 2012, 05:01
Default
  #11
Member
 
Join Date: Nov 2011
Posts: 44
Rep Power: 14
fferroni is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
It will ask for the the first zone and then a shadow zone. These are the two zones that will receive the periodic mapping. The solution from the original zone will be mapped directly onto the shadow zone and the velocity profiles will be preserved across these two zones.

For rotationally periodic meshes (the axis of rotation must like on the x-axis) and the entirety of the mesh must lie above the y=0 line (positive y region). Thees are restrictions placed by fluent.

If your axis of rotation is not compatible, it will likely throw an error saying it could match 0 out of ### faces for each zone.

You may need to regenerate your mesh to these restrictions. Also, it is better to create a conformal mesh on the two periodic faces so that additional interpolation steps are not needed during the solution calculation. When you run the TUI command, it will print out how many of the faces could be matched, and if the matching was conformal or not.
Hi

I followed your instructions and "all 3200 faces matched for zones 6 and 5". Now instead of having a velocity-inlet and a pressure-outlet, I only have a velocity inlet. I now go to the boundary conditions tab,and since my condition was an initial velocity, I guess I can specify a mass flow rate... However, I'm just wondering what is the Relaxation Factor and the Number of Iterations..?

Kind Regards,

F
fferroni is offline   Reply With Quote

Old   January 18, 2012, 05:13
Default
  #12
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Quote:
it'd be more efficient to simulate the 2D cross section.
So you want to model it as 3D not 2D as posted by you earlier? If you are meshing in GAMBIT then you can apply periodic boundary condition there (better method), else you can use the TUI (text user interface) command in Fluent
Enter commands in following sequence
1. define
2. boundary-conditions
3. modify-zones
4. make-periodic
And select two corresponding surfaces with their zone ids
Far is offline   Reply With Quote

Old   January 18, 2012, 05:34
Default
  #13
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
Try 1000 iterations (that's how many times your matrix is solved iteratively) and must specify sufficient no. of iterations so that the target residual level is achieved. At the moment don't play with under relations factor. In simple words these the are values which forces the speed of level of convergence to next iteration (x new = x + urf * xold).http://www.cfd-online.com/Wiki/Fluen..._parameters.3F
https://www.sharcnet.ca/Software/Flu...999.htm#170207
Far 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
periodic boundary condition in LES martor FLUENT 3 April 30, 2022 00:20
mixed inflow/outflow downstream boundary condition question peob OpenFOAM Running, Solving & CFD 3 February 3, 2017 10:54
periodic boundary condition (translational) fluent 6.3 haihek FLUENT 3 January 22, 2014 04:10
External Radiation Boundary Condition for Grid Interface CFD XUE FLUENT 0 July 9, 2010 02:53
translational periodic boundary condition Rola Afify FLUENT 2 September 12, 2006 08:39


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