|
[Sponsors] |
Difficulty in setting a udf periodic boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 21, 2021, 15:42 |
Difficulty in setting a udf periodic boundary condition
|
#1 |
New Member
Shubham Sathe
Join Date: Sep 2021
Posts: 7
Rep Power: 5 |
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 ? |
|
September 21, 2021, 18:31 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
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. |
|
September 21, 2021, 18:47 |
|
#3 |
New Member
Shubham Sathe
Join Date: Sep 2021
Posts: 7
Rep Power: 5 |
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.
|
|
September 21, 2021, 23:03 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66 |
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. |
|
Tags |
cfd - post, star ccm+, star ccm+ wrt tutorial, star ccm+;field function |
|
|
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 |