I have included below a set of commands that might work as well? NumTS is my main loop counter and I add 50 to each updated TS value. I have approximately 1500 time steps. Tstep=50 and the initial TS=Tstep
if(NumTS.eq.TS)then
! create file name
write(ts_char,'(i4)') TS
fname =...
OK I'm fine with having multiple output files that have just one array in them but how would I format that in the code to output multiple files for each desired time step.eg. Conc100.out, Conc150.out, Conc200.out etc?
I've written a 3D finite difference diffusion code in Microsoft Visual studio Intel Fortran Compiler and I need to output the concentrations at certain time step values. I need an output file that includes the concentration array in the domain for specific time steps throughout the program. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.