CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Difficulty in setting a udf periodic boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2021, 15:42
Post Difficulty in setting a udf periodic boundary condition
  #1
New Member
 
Shubham Sathe
Join Date: Sep 2021
Posts: 7
Rep Power: 5
Sathesj is on a distinguished road
Hello,

I am running a simulation over a fin, I have two options either to give periodic boundary condition with user defined pressure jump, given by:

P(x,y,z)=−βx+p(x,y,z)

Here, β is the linear component of the pressure and p(x,y,z) is periodic pressure component. β=(Pressure inlet-pressure outlet)/fin length.

My second option is to map the simulation data from outlet and initialize it as an inlet to achieve a fully developed flow condition. Can someone help me with this ?
Sathesj is offline   Reply With Quote

Old   September 21, 2021, 18:31
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
What does any of this this have to do with a UDF? Btw, we are in Star correct?

All you have to do is select the two boundaries, right click, and create the periodic interface. In physics values Star doesn't let you specify Beta, you have to specify the pressure jump, which is Beta x periodic length. You could do more work and create custom functions or parameters that would convert Beta to a pressure jump if you needed to automate.
LuckyTran is offline   Reply With Quote

Old   September 21, 2021, 18:47
Default
  #3
New Member
 
Shubham Sathe
Join Date: Sep 2021
Posts: 7
Rep Power: 5
Sathesj is on a distinguished road
Thank you for the response. Yes, I am using STAR. I don't have the exact pressure jump value, I tried creating a custom function but was unable to do so. It is showing an error stating that, the expression for pressure jump (name of the function I created) cannot be solved for pressure jump. I guess the periodic length that I defined was wrong. Hence the error, I am trying to define the periodic length. I would really appreciate if you can help me with this. Thank you.
Sathesj is offline   Reply With Quote

Old   September 21, 2021, 23:03
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You are free to vent your frustrations if that's all you're looking for =)


If you want help with an error, maybe post details about the error you are dealing with... Start by dumping your expression.
LuckyTran is offline   Reply With Quote

Reply

Tags
cfd - post, star ccm+, star ccm+ wrt tutorial, star ccm+;field function


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
3D Windturbine simulation in SU2 k.vimalakanthan SU2 15 October 12, 2023 06:53
Table bounds warnings at: END OF TIME STEP CFXer CFX 4 July 17, 2020 00:44
UDF setting wall boundary condition with a DEFINE_PROFILE NLao FLUENT 3 September 2, 2019 01:33
Transient periodic boundary condition setting jiemodanni FLUENT 6 December 22, 2018 00:10
UDF for periodic boundary condition Srivatsan Madhavan Fluent UDF and Scheme Programming 3 June 20, 2016 11:04


All times are GMT -4. The time now is 14:07.