|
[Sponsors] |
December 9, 2024, 11:19 |
|
#21 | |
Member
Josh Kelly
Join Date: Dec 2018
Posts: 34
Rep Power: 8 |
Quote:
|
||
December 9, 2024, 11:49 |
|
#22 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Hi Josh,
Many thanks for the reply, I have uploaded 1st and 2nd meshes .cfg files as “1st mesh” and ”2nd Mesh” in a google drive folder, cause forum didn’t allow me to upload .cfg files. Google folder link;https://drive.google.com/drive/folde...usp=drive_link Also apologies, I have drawn periodic faces in wrong places in the previous post. So the correct periodic faces (TOP & BOTTOM) are defined as shown in attached pictures. WALL (BACK) is defined on the right. Thank you very much for your time, |
|
December 9, 2024, 12:06 |
|
#23 |
Member
Josh Kelly
Join Date: Dec 2018
Posts: 34
Rep Power: 8 |
Nothing immediately sticking out but I would say you should initialise your simulation first order and then restart second order. Roe + SST can be quite rigid, I don't know how Roe + SST + LM performs with the turbo stuff but try first order and see what happens. If the early divergence persists then set the volume output to once every 10 iterations or so and inspect the flow field at the final output before crashing to see where residuals are highest, this is normally the best way to debug issues with any boundaries. The output says the linear solver is diverging, so it may be a good idea to include the linear solver output in the history to see how it is behaving. You can add additional options for volume and history output using the options VOLUME_OUTPUT and HISTORY_OUTPUT respectively. Run SU2_CFD -d <your_config_here> to see all the available options. I suspect if you can run first order and restart then the case is fine, if you can't then there is a problem with your mesh.
Also please remove the option "NUM_SPANWISE_SECTIONS" it does nothing in this case. |
|
December 9, 2024, 13:15 |
|
#24 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Really appreciate for all the suggestions Josh,
I was using the same .cfg file that been used for my 2D simulations, and it gave a good stability with good convergence, so I thought same would apply for 3D as well. Sure, I follow up every suggestion, thank you very much again. I have suspected more about the flow angle honestly, because I have never defined an angle in z-direction. In the reference paper flow inlet angle defined as 50.83 degrees So, it worked for my 2D case in xy directions (for x-direction cos alpha and y direction sin alpha), since the mesh generated in zx plane I am still bit confuse with flow definition in MARKER_GILES. At the moment it is defined as follows: Code:
MARKER_GILES= (INLET, TOTAL_CONDITIONS_PT, 115775, 340.2, 0.0, -0.7752, -0.6316, 0.7, 1.0, OUTLET, STATIC_PRESSURE, 97251, 0.0, 0.0, 0.0, 0.0, 0.7, 1.0) I had a similar error like below from the mesh I made in xy plane, so is this error related to my mesh generation as well? Code:
negative density or pressure in mixing process routine for iSpan: 71 in marker INLET Many thanks for the help. |
|
December 9, 2024, 13:26 |
|
#25 |
Member
Josh Kelly
Join Date: Dec 2018
Posts: 34
Rep Power: 8 |
The flow angle in the Giles marker is not specified using cartesian coordinates, it is specified in the frame of reference of that boundary. From config_template.cfg:
Code:
% Giles boundary condition for inflow, outflow and mixing-plane % Format inlet: ( marker, TOTAL_CONDITIONS_PT, Total Pressure , Total Temperature, % Flow dir-norm, Flow dir-tang, Flow dir-span, under-relax-avg, under-relax-fourier) % Format outlet: ( marker, STATIC_PRESSURE, Static Pressure value, -, -, -, -, under-relax-avg, under-relax-fourier) % Format mixing-plane in and out: ( marker, MIXING_IN or MIXING_OUT, -, -, -, -, -, -, under-relax-avg, under-relax-fourier) Not sure about the geometry preprocessing error but without the mesh file and some further testing with a debugger I would guess SU2 is not reading the mesh correctly. An easy way to check this would be to run for one iteration and check the volume output to see if the mesh looks as you expect. It could also just be a bug, if the volume output has the correct mesh I wouldn't be too worried about it. |
|
December 10, 2024, 09:43 |
|
#26 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Hi Josh,
Sorry Josh I quite did not get by “The flow angle in the Giles marker is not specified using cartesian coordinates, it is specified in the frame of reference of that boundary.” Statement. Basically 1st mesh in 2D created in ZY axis’s and extruded in +X direction for the 3D. since periodic faces are in top and bottom (according to the attached pictures), don’t I have to specify the inlet flow angle in -Y and -Z direction (correct me if I am wrong ) and blue arrows are angled inlet flow direction towards blade leading edge. As for the 1st order, I could possibly think the closest one is LAX-FRIEDRICH, since Roe + SST is rigid. So can lax-friedrich go as 1st order scheme with just SST model (with no transitional model)? Thanks for your valuable time Josh, |
|
December 10, 2024, 10:01 |
|
#27 |
Member
Josh Kelly
Join Date: Dec 2018
Posts: 34
Rep Power: 8 |
Each boundary of your mesh is defined by a surface, or in the case of a 2D mesh a line. The Giles boundary, rather than define the flow angle in cartesian frame of reference, defines the flow angle in the given surfaces frame of reference. The three components of the vector that define the flow angle are the normal, tangential, and spanwise components. Flow with a flow angle of 0 degrees would have the components (1, 0, 0) as the flow is entirely parallel with the normal vector in the boundary surfaces frame of reference. We do this as it means you do not have to spend time figuring out which way your flow needs to point at the boundary when defining the boundary condition and makes the calculation process much simpler. As such, normally it is typical to compute your flow angle in the normal and tangential directions unless you don't want the incoming flow to travel perpendicular to the blades span. The flow direction is not specified in the cartesian coordinates, it is specified in the frame of reference of the boundary surface. Please refer to my very crude sketch.
First order Roe will be fine, just disable MUSCL_FLOW. |
|
December 11, 2024, 07:33 |
|
#28 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Ohhh…. I get it now, you’re a lifesaver. Highly appreciate for the explanation and everything was making sense thanks to your sketch.
(*fingers cross to my simulations) Many thanks again, Josh |
|
December 12, 2024, 15:04 |
|
#29 |
New Member
Evert Bunschoten
Join Date: Nov 2024
Location: Netherlands
Posts: 10
Rep Power: 2 |
Hi Sakun,
Apologies for the late reply. In the output I see that the initial velocity component in the z-direction is negative. This is probably the reason why your simulation crashes as the turbmachinery solver is unable to properly initialize. I see that the total pressure computed at the outlet is actually higher than that at the inlet. Perhaps you should try this simulation with a pressure ramp, starting with an outlet static pressure lower than the inlet pressure and ramping to the target pressure. I also see that the solver was able to write a volume solution file. My advice is to load it into ParaView and visualize the flow field and residuals (if they were included in the volume outputs). That way, we may be able to figure out where the high residuals come from. |
|
Today, 12:45 |
|
#30 | |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 152
Rep Power: 7 |
Quote:
Hi Evert, That’s totally fine, thank you very much for coming back, So past few days I was trying to figure out the flow direction in the domain and how it goes around the blade (brain is fried at the moment ). I was following josh’s suggestions on the 1st mesh and the just flow literally coming out from the HUB (attached 1st numbered Mesh pictures). Then I have re-oriented the geometry according to the flow path and started to run some simulations (2nd numbered mesh). To identify the flow path (as josh mentioned above) , I have zeroed AOA and defined the INLET flow angle which is 50.83 to the x (0.6316) and y (-0.7752) directions. So far 500 iterations ran without an issue but my concern is, when I look from above (PER1), the flow path angle different than from the front. Thanks for your time for looking at this issue, |
||
Tags |
icem, rans, turbomachinery |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
MRF with translation zone in 2D turbomachinery case | sponiar | OpenFOAM Running, Solving & CFD | 2 | July 7, 2020 03:15 |
Reporting a bug in Allrun script on wingMotion case | i.sabahi | OpenFOAM Bugs | 0 | June 10, 2018 10:00 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |
Error reading new case | montag dp | FLUENT | 5 | September 15, 2011 07:00 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |