Turbulence driving broken - Decaying turbulence #525
Unanswered
saisandeepdammati
asked this question in
Q&A
Replies: 2 comments
-
I see the following big changes from the standard problem:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Chris, Thanks for your input. I figured that it is an issue of numerical stability. I repeated the same run with a CFL of 0.3 and it works fine. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Howdy!
I am using athena++ from the master brach with latest git commit ca8ba57 and trying to run a simple decaying turbulence problem (using src/pgen/turb.cpp) in a periodic cube of size 0.1125 cm on a 128^3 uniform grid on my local macbook on single core with one meshblock. I see that the code runs for 38 cycles and the then time-step drops drastically to very small value (1.e-22) and the run breaks. The only changes I made in turb.cpp is that I read the value of density and pressure from the of the athinput file as shown below in
MeshBlock::ProblemGenerator(ParameterInput *pin)
function. In history output, I can see that after cycle 38 suddenly total energy in the domain blows up. I am not sure what is the source of the error.The configuration script and athena configuration for the run are shown below. I am also attaching the job file, the history output file and stdout as .txt files.
Any input is highly appreciated.
------------------ CHANGE IN TURB.CPP ----------------------------------
phydro->u(IDN,k,j,i) = pin->GetReal("problem","d");
if (NON_BAROTROPIC_EOS) { phydro->u(IEN,k,j,i) = pin->GetReal("problem","pr")/(peos->GetGamma()-1);
------------------ CONFIGURATION SCRIPT ----------------------------------
python3 configure.py --prob=turb -mpi --eos=adiabatic --flux=hllc --nghost=2 -hdf5 -fft --fftw_path=/usr/local --hdf5_path=/usr/local/hdf5-install
------------------ ATHENA CONFIGURATION ----------------------------------
Your Athena++ distribution has now been configured with the following options:
Problem generator: turb
Coordinate system: cartesian
Equation of state: adiabatic
Riemann solver: hllc
Magnetic fields: OFF
Number of scalars: 0
Special relativity: OFF
General relativity: OFF
Frame transformations: OFF
Self-Gravity: OFF
Super-Time-Stepping: OFF
Debug flags: OFF
Code coverage flags: OFF
Linker flags: -L/usr/local/lib -L/usr/local/hdf5-install/lib -lfftw3 -lhdf5
Floating-point precision: double
Number of ghost cells: 2
MPI parallelism: ON
OpenMP parallelism: OFF
FFT: ON
HDF5 output: ON
HDF5 precision: single
Compiler: g++
Compilation command: mpicxx -I/usr/local/include -I/usr/local/hdf5-install/include -O3 -std=c++11
hit.decaying.job.txt
HIT.n128.Decaying.vl2.hst.txt
HIT.n128.Decaying.vl2.out.txt
Beta Was this translation helpful? Give feedback.
All reactions