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

[NEMO] Divergence for two-directional flow

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jessowy

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 22, 2024, 04:01
Default [NEMO] Divergence for two-directional flow
  #1
New Member
 
Jesslyn Ong
Join Date: Nov 2023
Posts: 4
Rep Power: 3
jessowy is on a distinguished road
Hi pals!

I am trying to analyse Falcon 9 along its reentry trajectory. To simply the simulation, I'm having a simplified model with one nozzle at the moment in Argon environment.

There are two main parts:
1. Descent w/o plume
2. Descent w plume

For part 1, there are no issues with it and the results are fine. For part 2, I configure the Argon freestream and added MARKER_SUPERSONIC_INLET at the nozzle exit with negative x-velocity component but it diverges immediately.

Code:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                              %
% SU2 configuration file                                                       %
% Case description: Simplified Falcon 9 (Argon)				       %
% Author: Jesslyn Ong 							       %
% Institution: Korea Advanced Institute of Science and Technology              %
% Date: 22.02.2024                                                             %
% File Version 8.0.0 "Harrier"                                                 %
%                                                                              %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

SOLVER= NEMO_NAVIER_STOKES
MATH_PROBLEM= DIRECT
SYSTEM_MEASUREMENTS= SI

TIME_DOMAIN= NO
CFL_NUMBER= 0.5
ITER= 50000

FLUID_MODEL= SU2_NONEQ
GAS_MODEL= ARGON
GAS_COMPOSITION= ( 1.0 )
FROZEN_MIXTURE= YES

VISCOSITY_MODEL= SUTHERLAND
CONDUCTIVITY_MODEL= CONSTANT_PRANDTL

MACH_NUMBER= 4.675
INIT_OPTION= TD_CONDITIONS
FREESTREAM_PRESSURE= 0.1129
FREESTREAM_TEMPERATURE= 198.6
FREESTREAM_TEMPERATURE_VE= 198.6

MARKER_FAR= ( FARFIELD, INLET )
MARKER_SMOLUCHOWSKI_MAXWELL= ( WALL, 300 )
MARKER_SUPERSONIC_INLET= ( NOZZLEEXIT, 1500, 3.55E+4, -3000, 0.0, 0.0 )
INLET_TEMPERATURE_VE= 1500
INLET_GAS_COMPOSITION= ( 1.0 )
MARKER_MONITORING= ( WALL )
MARKER_PLOTTING= ( WALL )
MARKER_ANALYZE= ( WALL )

REF_LENGTH= 13
REF_AREA= 0
NUM_METHOD_GRAD= WEIGHTED_LEAST_SQUARES
TRANSPORT_COEFF_MODEL= WILKE
%CONV_NUM_METHOD_FLOW= ROE
CONV_NUM_METHOD_FLOW= AUSMPLUSUP2
USE_ACCURATE_FLUX_JACOBIANS= YES
TIME_DISCRE_FLOW= EULER_EXPLICIT

MESH_FILENAME= 2dfull.su2
MESH_FORMAT= SU2
SOLUTION_FILENAME= restart_flow
VOLUME_FILENAME= flow
TABULAR_FORMAT= CSV

OUTPUT_FILES= RESTART, PARAVIEW
VOLUME_OUTPUT= ( COORDINATES, SOLUTION, PRIMITIVE, TIME_STEP )
HISTORY_OUTPUT= ( ITER, FLOW_COEFF, AERO_COEFF, HEAT, FLOW_COEFF_SURF, AERO_COEFF_SURF, HEAT_SURF )
CONV_FILENAME= history
OUTPUT_WRT_FREQ= 50
WRT_RESTART_OVERWRITE= YES

RESTART_SOL= NO
RESTART_FILENAME= restart_flow.dat
READ_BINARY_RESTART= YES
The error code is as follow:

Code:
------------------------------ Begin Solver -----------------------------

Simulation Run using the Single-zone Driver


Error in "void CSolver::SetResidual_RMS(const CGeometry*, const CConfig*)": 
-------------------------------------------------------------------------
SU2 has diverged (NaN detected).
------------------------------ Error Exit -------------------------------
Any ideas will be much appreciated! Cheers!

Mesh file:
https://drive.google.com/file/d/1vtG...ew?usp=sharing
giovanni.medici likes this.
jessowy is offline   Reply With Quote

Old   February 22, 2024, 20:14
Default
  #2
Senior Member
 
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7
wallym is on a distinguished road
Hi Jessowy,

Thanks for using SU2-NEMO! It seems like an interesting problem and look forward to seeing the results. As a quick heads-up, I can't see any of the mesh files - I no longer have access to all my tools.

Your setup looks good.
Some things I would suggest are:
1.) Run using the AUSM or MSW numerical scheme. In my experience, they were much more stable.
2.) I would make sure you are running to a first-order simulation to start (MUSCL=NO).

I think the difficulty is arising due to the nozzle exit flow condition. The numerics, at the beginning of the simulation, see a velocity gradient of M=4.5 flow to a negative value....which I suspect is causing problems.
You can play some games here:
1.) You can use a restart file. Take you good solution from your first solution, then apply the nozzle condition.

2.) You can create/alter your restart file to better initialize the flow. You can manually change the restart csv file to include a plume region where the flow state would more closely resemble the plume. This may alleviate the large gradients.

3.) Finally, (I think this would work - but not confident), is to set your freestream conditions to stationary flow (or close to it). Then the inflow of your domain and the nozzle exit would be initialized as a supersonic inlet. This will allow the plume to develop before interacting with the M=4.5 flow. You may need to run the problem unsteady for this.

I am not aware of anyone trying to simulate any type of retro-propulsion with SU2 in general, so you are in uncharted territory. Please let me know if any of this helps.

Wally
wallym is offline   Reply With Quote

Reply

Tags
divergence, nemo, supersonic flow, supersonic inlet


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
Seeking Guidance on Divergence Issues in Rocket Nozzle Flow Simulation for Heat Flux bgulzar22 SU2 6 December 15, 2023 05:11
PEMFC model with FLUENT brahimchoice FLUENT 22 April 19, 2020 16:44
divergence in two-phase air-water flow in vertical-horizontal elbow E.Mrz OpenFOAM Running, Solving & CFD 0 January 10, 2019 08:27
Turbomachinery, transient flow - temperature limited and pressure AMG divergence dariuszkoz FLUENT 0 January 2, 2019 09:43
Multiphase phase (gas-solid) flow using Eulerian-Granular medel ( divergence problem) jessie FLUENT 3 May 29, 2014 12:05


All times are GMT -4. The time now is 09:10.