|
[Sponsors] |
April 18, 2020, 12:09 |
CFX error
|
#1 |
Member
Join Date: Mar 2020
Posts: 33
Rep Power: 6 |
Hello everyone,
I am trying to run simulation of compressor but I am getting error again and again, I have checked boundary conditions, changed time scale, model everything but the solution is diverging. Can someone please look at output file and tell me what is wrong. I have checked CFX wiki but still couldnt solve the issue. Thank you |
|
April 18, 2020, 13:04 |
|
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13 |
Something is at least wrong with your mesh, look at the expansion ratios it shows in the Mesh Statistics section. And your Mach number is skyrocketting, its related I guess.
|
|
April 18, 2020, 19:33 |
|
#3 |
Member
Join Date: Mar 2020
Posts: 33
Rep Power: 6 |
Hey. Thank you. I believe this is due to the mesh because I checked antoher converged solution of kinda same geomtry but less than 1000 expansion ratios. I will try to improve mesh. Will let you know
|
|
April 19, 2020, 01:10 |
|
#4 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144 |
The rapidly diverging Mach number means that the FAQ on floating point error is relevant here (it is a very similar problem): https://www.cfd-online.com/Wiki/Ansy...do_about_it.3F
* The mesh quality issue is very important, definitely need to improve that. * You have viscous work turned on. Unless you need it turn it off. * Are you sure the flow is not choked? * As the FAQ says, the first things you try in this case are: double precision numerics, smaller time step, improve mesh quality, better initial conditions.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
April 20, 2020, 05:00 |
|
#5 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
Another 50 cents:
You have challenging boundary conditions. And you use them all starting from iteration 1, without any initial guess. I would start with a lower massflow and rotational speed. Get it converged and then restart with tougher settings. Do it over and over, until you get where you want to be. Although CFX can be quite forgiven for bad mesh and tough boundary conditions, I think you push it too far. You want to be on top of a mountain and try to jump to get there at once. But you need to climb and take a rest a few times. |
|
April 20, 2020, 19:14 |
|
#6 |
Member
Join Date: Mar 2020
Posts: 33
Rep Power: 6 |
Thank you so much guys. I refined the mesh, reduced mass flow rate and velocity and it finally converged. One thing is still confusing me, the direction of rotational velocity. I have attached the image, can you please tell me for clockwise rotation about z-axis (from the top view), should input velocity be positive or negative? How can I check it in post?
|
|
April 20, 2020, 22:15 |
|
#7 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Your last question is ill-posed. You are showing the impeller, and a coordinate frame in a viewer, but you have not explicitly stated/described nor shown which direction for the axis you selected.
You can still in the domain models panel select -Z as the axis, and any answer to your question will be wrong or right. For anyone to help, you need to state the direction of the axis by either showing the panel, or indicating which axis direction you have selected. Hope the above helps,
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
April 21, 2020, 14:14 |
|
#8 |
Member
Join Date: Mar 2020
Posts: 33
Rep Power: 6 |
Hello. Sorry for the missing information. I selected the positive Z-axis (axis 1.3) as axis of rotation.
|
|
April 21, 2020, 15:41 |
|
#9 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
For a compressor, the impeller must rotate from the Y-axis towards (using the shortest angle) the X-axis; therefore, then you must set a negative value for the angular velocity in the panel.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
April 21, 2020, 15:55 |
|
#10 |
Member
Join Date: Mar 2020
Posts: 33
Rep Power: 6 |
Thank You. I already set negative value. was just need confirmation if doing it right or not.
|
|
April 23, 2020, 12:13 |
|
#11 |
Member
Join Date: Mar 2020
Posts: 33
Rep Power: 6 |
Hey Guys, I am facing aproblem regarding inflation layer. I am trying to place inflation layers around blades by appropriate first layer thickness (y plus 1), the inflation layer is generated but the mesh quality decreases and Aspect ratio + Expansion ratios becomes very high. This is causing the solver to diverge.
How can I solve this issue? If I remove inflation layers, the solution converges. |
|
April 23, 2020, 13:51 |
|
#12 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
Go to ANSYS' Mesh & Geometry forum and add a few pictures. Otherwise people can't help at all.
|
|
April 23, 2020, 14:11 |
|
#13 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
"boundary layer" meshes have very high aspect ratio. That is the norm.
Once your aspect ratio goes above 1000, you should use the double precision solver, and also beware that you are resolving additional features you did not capture with the coarser meshes. As Gert-Jan suggested, a picture is worth a thousand words.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
Tags |
ansys, cfx, error, turbo machinery |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile calcMassFlowC | aurore | OpenFOAM Programming & Development | 13 | March 23, 2018 08:43 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
Undeclared Identifier Errof UDF | SteveGoat | Fluent UDF and Scheme Programming | 7 | October 15, 2014 08:11 |
How to install CGNS under windows xp? | lzgwhy | Main CFD Forum | 1 | January 11, 2011 19:44 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |