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

Changing boundary conditions (transient)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2018, 09:14
Default Changing boundary conditions (transient)
  #1
Senior Member
 
acalado's Avatar
 
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10
acalado is on a distinguished road
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!
acalado is offline   Reply With Quote

Old   June 19, 2018, 11:59
Default
  #2
Senior Member
 
Join Date: Dec 2016
Posts: 152
Rep Power: 10
RaiderDoctor is on a distinguished road
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.
RaiderDoctor is offline   Reply With Quote

Old   June 19, 2018, 12:52
Default
  #3
Senior Member
 
acalado's Avatar
 
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10
acalado is on a distinguished road
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!
acalado is offline   Reply With Quote

Old   June 19, 2018, 14:27
Default
  #4
Senior Member
 
Join Date: Dec 2016
Posts: 152
Rep Power: 10
RaiderDoctor is on a distinguished road
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.
RaiderDoctor is offline   Reply With Quote

Old   June 19, 2018, 14:40
Default
  #5
Senior Member
 
acalado's Avatar
 
André
Join Date: Mar 2016
Posts: 133
Rep Power: 10
acalado is on a distinguished road
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!
acalado 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
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


All times are GMT -4. The time now is 23:30.