|
[Sponsors] |
June 19, 2018, 09:14 |
Changing boundary conditions (transient)
|
#1 |
Senior Member
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10 |
Greetings,
I have a transient simulation where for the first period some boundaries are walls, and after that I change them to velocity boundaries with a ramp up increase in the velocity using UDFs. The ramp up should take the value at the end of the first period and then linearly ramp up with time, however I am having some issues on convergence. I have tried using small timesteps and lower under-relaxation factors but still with trouble. Any suggestions are appreciated! Thanks
__________________
Sapere aude! |
|
June 19, 2018, 11:59 |
|
#2 |
Senior Member
Join Date: Dec 2016
Posts: 152
Rep Power: 10 |
Hi, I'm afraid I don't understand your setup. Could you give us a more detailed description? Posting an image or two to help explain yourself would really be beneficial.
|
|
June 19, 2018, 12:52 |
|
#3 |
Senior Member
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10 |
So basically I have 4 boundaries: 2 of them are open portals (pressure boundaries) and the other 2 are ventilation ducts.
For the first period the ventilation ducts are closed, so they are walls. After this period, I want to use a UDF for the ventilation ducts such that the velocity is increased (ramp up), with 1 of the portals also being UDF defined (mass flow ramps up), and the other portal is left as a pressure boundary (no change). However once I set up the new case file with the UDFs and continue the run the simulation quickly diverges.
__________________
Sapere aude! |
|
June 19, 2018, 14:27 |
|
#4 |
Senior Member
Join Date: Dec 2016
Posts: 152
Rep Power: 10 |
Okay, so now we’re getting somewhere. For the pressure boundary conditions, are they inlets or outlets? I ask because it’s sounding like your divergence might be due to an improper boundary condition.
|
|
June 19, 2018, 14:40 |
|
#5 |
Senior Member
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10 |
I'd say on is an inlet, the other an outlet (even though there is a mixed flow of outgoing and incoming fluid).
After that, the previous inlet remains a gauge pressure inlet (positive), and the outlet is a mass flow inlet (negative sign because flow is going out). However it appears from my surface monitors that the gauge pressure boundary (which does not change from first to second periods) is the one that is diverging. It says the error is related to the AMG solver: temperature (very low temperatures) which is quite confusing.
__________________
Sapere aude! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 17:38 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 17:11 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 17:44 |
New topic on same subject - Flow around race car | Tudor Miron | CFX | 15 | April 2, 2004 06:18 |
Boundary conditions? | Tom | Main CFD Forum | 0 | November 5, 2002 01:54 |