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

Heat flux estimation for a liquid rocket engine - UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2024, 01:48
Default Heat flux estimation for a liquid rocket engine - UDF
  #1
New Member
 
Vijay Adhi
Join Date: May 2024
Posts: 3
Rep Power: 2
Vijay_01 is on a distinguished road
Hello! This is my first thread in CFD Online. I'm working on the design of a pressure-fed LO2 and LNG rocket engine. I've been using Fluent to estimate the heat flux for an ablative-cooled engine. I was able to solve all the compilation errors for my UDF.

I'm attaching my boundary conditions and mesh. My model is axisymmetric and I have a fluid-solid domain in my problem, so all my methods are second order. But I keep getting this error whenever I run my calculations.

"Divergence detected in AMG solver. temporarily reducing Courant number to 0.5 and trying again..."

Is there a problem with my mesh? I've used a multi-zone and face mesh with 15 inflation layers.

I've tried all the methods I know to simplify the problem. I still keep getting the same error.
Vijay_01 is offline   Reply With Quote

Old   June 20, 2024, 18:25
Default
  #2
New Member
 
hasnaa hasnaa
Join Date: Jun 2024
Posts: 5
Rep Power: 2
hasnaaoub is on a distinguished road
I am doing a CFD study on an electric car.
Currently, I am in the setup phase. I tried to integrate solar radiation using a function in the "User Defined" interface with C code. I tried to use the "Interpreted" extension, but I still encounter an error. When I try to use the "Compiled" extension, another error occurs.

Can you send me an example of a udf function that you have already used in your studies and that can be used in ansys?

Thank you in advance for your help.
hasnaaoub is offline   Reply With Quote

Old   June 20, 2024, 20:44
Default
  #3
New Member
 
Vijay Adhi
Join Date: May 2024
Posts: 3
Rep Power: 2
Vijay_01 is on a distinguished road
Heat flux estimation for a liquid rocket engine - UDF
Check this out.
Can you add some images of the error that you face?
Vijay_01 is offline   Reply With Quote

Old   June 21, 2024, 06:11
Default
  #4
New Member
 
hasnaa hasnaa
Join Date: Jun 2024
Posts: 5
Rep Power: 2
hasnaaoub is on a distinguished road
thank you for your response. here there is the picture of error.
Attached Images
File Type: jpg Figure 1.jpg (82.6 KB, 3 views)
File Type: jpg Figure 2.jpg (135.2 KB, 4 views)
File Type: jpg Figure 3.jpg (126.7 KB, 4 views)
hasnaaoub is offline   Reply With Quote

Old   June 21, 2024, 07:40
Default
  #5
Senior Member
 
Martin_Sz's Avatar
 
Marcin
Join Date: May 2014
Location: Poland, Swiebodzin
Posts: 313
Rep Power: 13
Martin_Sz is on a distinguished road
The "Divergence detected in AMG solver" error in ANSYS Fluent indicates that the Algebraic Multigrid (AMG) solver is struggling to converge. This can arise from several factors, including:
* Mesh quality: Ensure your mesh is well-defined, with good aspect ratios and minimal skewness. Consider refining the mesh, particularly in areas with high gradients or complex geometry.
* Under-relaxation factors (URFs): URFs control the rate at which solution values are updated between iterations. Excessive URFs can lead to divergence. Try reducing the URFs, especially for the temperature equation.
* Boundary conditions: Double-check that your boundary conditions are defined correctly and consistent with the physics of your problem. Inaccurate boundary conditions can lead to the solver struggling to find a solution.
* Solver settings: Experiment with different AMG solver settings, such as the coarsening scheme or relaxation method. You might also consider switching to a different solver, such as SIMPLE or PISO.
If you've already tried simplifying the problem and the error persists, consider sharing your mesh and boundary condition details on the CFD Online forum for more specific guidance from experienced users.
__________________
Quick Tips and Tricks, Tutorials FLuent/ CFX (CFD)
https://howtooansys.blogspot.com/
Martin_Sz is offline   Reply With Quote

Old   June 21, 2024, 07:49
Default
  #6
New Member
 
hasnaa hasnaa
Join Date: Jun 2024
Posts: 5
Rep Power: 2
hasnaaoub is on a distinguished road
hi Martin, sorry but i didn't understand what did you meant. we are in the setup stage, not the solution stage. and I want to integrate the udf equation of solar radiation written in C language?? can you explain more plz
hasnaaoub 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
UDF for reading radiative heat flux ssa_cfd Fluent UDF and Scheme Programming 1 December 14, 2020 01:53
UDF for Heat Flux Profile Jacob_Bing Fluent UDF and Scheme Programming 8 November 11, 2019 04:48
UDF for time dependent stepwise heat flux profile bugrasss Fluent UDF and Scheme Programming 0 April 15, 2015 07:32
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 20:01


All times are GMT -4. The time now is 06:12.