Hi Dave,
Thanks, now I'm able to make the results convert to a single file! I want to be able to plot pressure vs. time for a periodic flow simulation, so I need data at small time increments to create the full curve without losing much information.
Another issue I'm encountering with
svpost is that it often encounters a seg fault at some point if I try to convert anything other than just
-sol.
I ran a simulation for 250 timesteps and made a restart file for each step. I can see in my folder that I have
restart.n.1 for n=0 to 250. But if I run
svpost in that folder with:
Code: Select all
svpost -all -start 1 -stop 250 -incr 1 -indir ./ -outdir ./ -vtkcombo -vtu all_results.vtu -vtp all_results.vtp
I get the output:
Code: Select all
Will reduce all available data
Opening .//restart.1.1 to scan for number of variables...
Opening .//geombc.dat.1 to scan for number of processors and global modes...
Reducing : .//geombc.dat.1
Number of solution variables found (5)
Number of nodes found (75824)
Number of elements found (428442)
Number of processors used (1)
Create vtkPoints with 75824 nodes.
Create tets for 428442 elements.
Reducing : wall properties from .//geombc.dat.1
No wall properties found from .//geombc.dat.1. Will search from restart files.
Reducing (solution) results : .//restart.1.1
Done reading (solution) results : .//restart.1.1
Reducing (time derivative of solution) results : .//restart.1.1
Done reading (time derivative of solution) results : .//restart.1.1
Reducing (displacement) results : .//restart.1.1
NOTE: No (displacement) in .//restart.1.1
Reducing (varwallprop) results : .//restart.0.1
NOTE: No (varwallprop) in .//restart.0.1
Reducing (vin plane traction) results : .//restart.1.1
Done reading (vin plane traction) results : .//restart.1.1
Reducing (rin plane traction) results : .//restart.1.1
Done reading (rin plane traction) results : .//restart.1.1
Reducing (vwall shear stresses) results : .//restart.1.1
Done reading (vwall shear stresses) results : .//restart.1.1
Reducing (rwall shear stresses) results : .//restart.1.1
Done reading (rwall shear stresses) results : .//restart.1.1
Reducing (ybar) results : .//restart.1.1
NOTE: No (ybar) in .//restart.1.1
No ybar in step 1
Reducing (average speed) results : .//restart.1.1
Done reading (average speed) results : .//restart.1.1
Reducing (average pressure) results : .//restart.1.1
Done reading (average pressure) results : .//restart.1.1
Reducing (speed error) results : .//restart.1.1
NOTE: No (speed error) in .//restart.1.1
Reducing (pressure error) results : .//restart.1.1
NOTE: No (pressure error) in .//restart.1.1
Reducing (solution) results : .//restart.2.1
Done reading (solution) results : .//restart.2.1
Reducing (time derivative of solution) results : .//restart.2.1
Done reading (time derivative of solution) results : .//restart.2.1
Reducing (displacement) results : .//restart.2.1
NOTE: No (displacement) in .//restart.2.1
Reducing (vin plane traction) results : .//restart.2.1
Done reading (vin plane traction) results : .//restart.2.1
Reducing (rin plane traction) results : .//restart.2.1
Done reading (rin plane traction) results : .//restart.2.1
Reducing (vwall shear stresses) results : .//restart.2.1
Done reading (vwall shear stresses) results : .//restart.2.1
Reducing (rwall shear stresses) results : .//restart.2.1
Done reading (rwall shear stresses) results : .//restart.2.1
Reducing (ybar) results : .//restart.2.1
NOTE: No (ybar) in .//restart.2.1
No ybar in step 2
Reducing (average speed) results : .//restart.2.1
Done reading (average speed) results : .//restart.2.1
Reducing (average pressure) results : .//restart.2.1
Done reading (average pressure) results : .//restart.2.1
Reducing (speed error) results : .//restart.2.1
NOTE: No (speed error) in .//restart.2.1
Reducing (pressure error) results : .//restart.2.1
NOTE: No (pressure error) in .//restart.2.1
Reducing (solution) results : .//restart.3.1
Done reading (solution) results : .//restart.3.1
Reducing (time derivative of solution) results : .//restart.3.1
Done reading (time derivative of solution) results : .//restart.3.1
Reducing (displacement) results : .//restart.3.1
NOTE: No (displacement) in .//restart.3.1
Reducing (vin plane traction) results : .//restart.3.1
Done reading (vin plane traction) results : .//restart.3.1
Reducing (rin plane traction) results : .//restart.3.1
Done reading (rin plane traction) results : .//restart.3.1
Reducing (vwall shear stresses) results : .//restart.3.1
Done reading (vwall shear stresses) results : .//restart.3.1
Reducing (rwall shear stresses) results : .//restart.3.1
Done reading (rwall shear stresses) results : .//restart.3.1
Reducing (ybar) results : .//restart.3.1
NOTE: No (ybar) in .//restart.3.1
No ybar in step 3
Reducing (average speed) results : .//restart.3.1
Done reading (average speed) results : .//restart.3.1
Reducing (average pressure) results : .//restart.3.1
Done reading (average pressure) results : .//restart.3.1
Reducing (speed error) results : .//restart.3.1
NOTE: No (speed error) in .//restart.3.1
Reducing (pressure error) results : .//restart.3.1
NOTE: No (pressure error) in .//restart.3.1
Reducing (solution) results : .//restart.4.1
Done reading (solution) results : .//restart.4.1
Reducing (time derivative of solution) results : .//restart.4.1
Done reading (time derivative of solution) results : .//restart.4.1
Reducing (displacement) results : .//restart.4.1
NOTE: No (displacement) in .//restart.4.1
Reducing (vin plane traction) results : .//restart.4.1
Done reading (vin plane traction) results : .//restart.4.1
Reducing (rin plane traction) results : .//restart.4.1
NOTE: No (rin plane traction) in .//restart.4.1
Reducing (vwall shear stresses) results : .//restart.4.1
NOTE: No (vwall shear stresses) in .//restart.4.1
Reducing (rwall shear stresses) results : .//restart.4.1
NOTE: No (rwall shear stresses) in .//restart.4.1
Reducing (ybar) results : .//restart.4.1
NOTE: No (ybar) in .//restart.4.1
No ybar in step 4
Reducing (average speed) results : .//restart.4.1
NOTE: No (average speed) in .//restart.4.1
Reducing (average pressure) results : .//restart.4.1
NOTE: No (average pressure) in .//restart.4.1
Reducing (speed error) results : .//restart.4.1
NOTE: No (speed error) in .//restart.4.1
Reducing (pressure error) results : .//restart.4.1
NOTE: No (pressure error) in .//restart.4.1
Reducing (solution) results : .//restart.5.1
Done reading (solution) results : .//restart.5.1
Reducing (time derivative of solution) results : .//restart.5.1
Done reading (time derivative of solution) results : .//restart.5.1
Reducing (displacement) results : .//restart.5.1
/usr/local/bin/svpost: line 58: 3490 Segmentation fault (core dumped) $SV_HOME/bin/svpost $*
If I run without the
-all option, I get the same error. In a previous simulation I ran, the same error would happen during
restart.3.1, so it's not happening only at a certain time step.
Does this error mean that an error occurred during the simulation when the restart files were being generated? Is there a way to inspect the restart files to see if they are corrupted or if certain data are missing from them? The pressure/flow data look reasonable when I convert with the
-sol option only, but I also need the WSS and OSI values for my project.
Thanks,
Shannen