BOXZYHYDRO
Radiation Hydrodynamics Code with self-gravity, radiation transport, particle-particle and particle-in-cell dynamics, and solid-gas interactions.
Install / Use
/learn @norabolig/BOXZYHYDROREADME
Multipurpose, radiation hydrodynamics code with self-gravity, radiative transport, and the ability to track particles. The code also converts to a particle-particle-particle-in-cell code, with gas-drag terms. The code is still being developed.
The README will be updated as a markdown file soon.
o To complile, type "make" to make with gcc.
o The code is currently set up to perform a Sod shock tube test.
o After the code is compiled, run it using ./boxzy in.nml, where in.nml is the provided namelist file. Again this is a set up for the Sod shock tube test.
o After the simulation has finished, it will provide two outputs, such as celldump.00000001 and celldump.00000375, where the numbers refer to the timestep (please note that several additions have been made to the code, and your test case may not have a file that ends exactly at 375). Go into the analysis directory, and type
gfortran -o bin_to_ascii bin_to_ascii.f90
This execultable will now take the formatted celldump files and turn them into an ascii format for quick plotting. Execute by typing
./bin_to_ascii ../celdump.00000375 T > mysod.dat
Now GNUPLOT.
fmine="mysod.dat" fcomp="sodtest.dat" set xlabel "DISTANCE" set ylable "DENSITY" plot fmine u 2:4, fcomp u 2:4
The resulting plot will show the density profile. The curves should be on top of each other, where sodtest.dat is a pregenerated file for comparisons. 2:5 will plot the pressure, and 2:($5/$4) will plot a specific energy-like term.
Related Skills
node-connect
337.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.1kCommit, push, and open a PR
