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

UDF profile based on function of flow time ERROR!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2016, 19:39
Default UDF profile based on function of flow time ERROR!
  #1
Member
 
Ash Kotwal
Join Date: Jul 2016
Location: North Dakota, USA
Posts: 92
Blog Entries: 1
Rep Power: 10
Ash Kot is on a distinguished road
I'm running 2 phase flow implicit Eularian-Eularian flow model.
created model.

defined material to each phase.

defined boundary conditions-for inlet, it's mass flow rate with initial gauge pressure defined

defined outlet pressure boundary condition- as outlet pressure values.

Then velocity slip ratio defined based on variable mass flow rate of phase 1 but constant mass flow rate of phase 2.

All above boundary conditions are defined as profile UDFs as function of flow time.

then phase coupled simple solver is used.

rest is just a calculations activities, with surface monitors.

the case successfully setup and started calculations till 300 time steps with 1 second as time step size.

after that UDF, as function of time, provides new values to the solver. and that's where everything goes wrong and suddenly I receive divergence in AMG solver. Which I shouldn't be getting since the case ran successfully for first 300 time steps

so I need help to know what exactly went wrong.

thank you,

regards,
Ash Kot is offline   Reply With Quote

Old   September 2, 2016, 10:35
Default
  #2
Senior Member
 
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13
Bruno Machado is on a distinguished road
Quote:
Originally Posted by Ash Kot View Post
I'm running 2 phase flow implicit Eularian-Eularian flow model.
created model.

defined material to each phase.

defined boundary conditions-for inlet, it's mass flow rate with initial gauge pressure defined

defined outlet pressure boundary condition- as outlet pressure values.

Then velocity slip ratio defined based on variable mass flow rate of phase 1 but constant mass flow rate of phase 2.

All above boundary conditions are defined as profile UDFs as function of flow time.

then phase coupled simple solver is used.

rest is just a calculations activities, with surface monitors.

the case successfully setup and started calculations till 300 time steps with 1 second as time step size.

after that UDF, as function of time, provides new values to the solver. and that's where everything goes wrong and suddenly I receive divergence in AMG solver. Which I shouldn't be getting since the case ran successfully for first 300 time steps

so I need help to know what exactly went wrong.

thank you,

regards,
We have no idea about your code or if something else in your configuration is wrong. Maybe the time step you are using is too big, maybe is under relaxation factor, maybe is something else. with the information you provide, i dont think any one can help you.
Bruno Machado 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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 12:04
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 01:01
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


All times are GMT -4. The time now is 17:24.