simulation converting related error

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
KIYOON MOON
Posts: 3
Joined: Mon Jul 25, 2022 5:21 pm

simulation converting related error

Post by KIYOON MOON » Thu Oct 05, 2023 6:26 pm

Hi,
i'm trying to make an CFD simulation based on patient's CT scan and there was no problem until running the simulation.
However, when i try to convert the results popup message says "Results has been converted" but details shows errors related to reducing geombc.dat and restart.0.1~10.1 files. Therefore there's no data for vinplane_traction, vWSS,rinplane_traction, and rWSS and post processing is impossible. how can i solve the problem?

-----------------------------------------------------------------------------------
Will reduce all available data
Opening /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1 to scan for number of variables...
Opening /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/geombc.dat.1 to scan for number of processors and global modes...
Reducing : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/geombc.dat.1
Number of solution variables found (5)
Number of nodes found (61085)
Number of elements found (340052)
Number of processors used (1)
Create vtkPoints with 61085 nodes.
Create tets for 340052 elements.
Reducing : wall properties from /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/geombc.dat.1
No wall properties found from /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/geombc.dat.1. Will search from restart files.
Number of wall properties found (0)
Reducing (solution) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (time derivative of solution) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (time derivative of solution) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (displacement) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (displacement) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (varwallprop) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (varwallprop) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (vin plane traction) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (vin plane traction) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (rin plane traction) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (rin plane traction) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (vwall shear stresses) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (vwall shear stresses) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (rwall shear stresses) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (rwall shear stresses) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (ybar) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (ybar) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
No ybar in step 0
Reducing (average speed) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (average speed) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (average pressure) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (average pressure) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (speed error) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (speed error) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Reducing (pressure error) results : /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
NOTE: No (pressure error) in /Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.0.1
Create vtkPoints with 61085 nodes.
~~~
numArrays: 11
numPts: 15216

ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.
ERROR opening file [/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1].
ERROR: could not open file '/Users/kimjangyong/Desktop/SIMVASCULAR/AAA5/Simulations/AAA5_sim/restart.1.1'.

-------

WARNING: No data found for vinplane_traction at time step 0. vTAWSS, vshear_pulse and vOSI will not be calculated.
WARNING: No data found for vWSS at time step 0. vTAWSS_wss, vshear_pulse_wss and vOSI_wss will not be calculated.
WARNING: No data found for rinplane_traction at time step 0. rTAWSS, rshear_pulse and rOSI will not be calculated.
WARNING: No data found for rWSS at time step 0. rTAWSS_wss, rshear_pulse_wss and rOSI_wss will not be calculated.

User avatar
David Parker
Posts: 1717
Joined: Tue Aug 23, 2005 2:43 pm

Re: simulation converting related error

Post by David Parker » Fri Oct 06, 2023 10:11 am

Hello,

The error messages imply that there are no simulation results. Did the simulation successfully complete? You should see a bunch of restart files in the directory you ran the simulation. For example a simulation run on four processors for 500 time steps saved every 100 steps

Code: Select all

bct.dat*	geombc.dat.4	ltg.dat.3	restart.0.3	restart.100.4	restart.300.1	restart.400.2	restart.500.3
echo.dat	histor.dat	numpe.in	restart.0.4	restart.200.1	restart.300.2	restart.400.3	restart.500.4
geombc.dat.1	ltg.dat.0	numstart.dat*	restart.100.1	restart.200.2	restart.300.3	restart.400.4	svLS_NS.log
geombc.dat.2	ltg.dat.1	restart.0.1	restart.100.2	restart.200.3	restart.300.4	restart.500.1
geombc.dat.3	ltg.dat.2	restart.0.2	restart.100.3	restart.200.4	restart.400.1	restart.500.2
Cheers,
Dave

User avatar
KIYOON MOON
Posts: 3
Joined: Mon Jul 25, 2022 5:21 pm

Re: simulation converting related error

Post by KIYOON MOON » Sun Oct 08, 2023 8:42 pm

I'm not sure but I think I got every files that we need to do the simulation.
I set number of time steps as 10 and number of time steps between restarts as 5.
Then I had restart 0.1, restart 5.1, restart 10.1 in the simulation folder.
But I can't find ltg.dat.3 and numpe.in file in that folder. is it can be the problem for converting the results?

When I do the simulation, the results detail shows like this.
================================================================
The process ID for myrank (0) is (16164).


The number of processes is 1.

Solver Input Files listed as below:
------------------------------------
Local Config: solver.inp
Default Input File: Not Setup.

Parameter Values setup as below:
----------------------------------------------
Time Varying Boundary Conditions From File: True
BCT File Type: DAT
Number of BCT Files: 1
BCT Matching Type: Global Node ID
BCT Time Scale Factor: 1.0
Equation of State: Incompressible
Time Step Size: 0.1
Number of Timesteps: 10
Viscous Control: Viscous
Number of Timesteps between Restarts: 5
Print Average Solution: True
Print Error Indicators: False
Number of Force Surfaces: 1
Surface ID's for Force Calculation: 1
Force Calculation Method: Velocity Based
Apply Wall Deformation: False
Number of Surfaces which Output Pressure and Flow: 0
Density: 1.06
Viscosity: 0.04
Solver Type: svLS
svLS Type: NS
Number of Krylov Vectors per GMRES Sweep: 100
Number of Solves per Left-hand-side Formation: 1
Tolerance on Momentum Equations: 0.05
Tolerance on Continuity Equations: 0.4
Tolerance on svLS NS Solver: 0.4
Maximum Number of Iterations for svLS NS Solver: 1
Maximum Number of Iterations for svLS Momentum Loop: 2
Maximum Number of Iterations for svLS Continuity Loop: 400
Residual Tolerance: 1000000.0
Time Integration Rule: Second Order
Time Integration Rho Infinity: 0.5
Flow Advection Form: Convective
Quadrature Rule on Interior: 2
Quadrature Rule on Boundary: 3
Number of Elements Per Block: 255
Number of Coupled Surfaces: 2
Pressure Coupling: Implicit
Number of Resistance Surfaces: 2
List of Resistance Surfaces: 3 4
Resistance Values: 1000 1000
Backflow Stabilization Coefficient: 0.2
Deformable Wall: False
Residual Control: True
Residual Criteria: 0.01
Minimum Required Iterations: 3
Step Construction: 0 1 0 1
Solver Task: Full Simulation


Time derivative of solution is set to zero (SAFE)
Element block size = 255
Domain size (x,y,z): 15.9325947762 8.3177928925 32.2915802002
Total number of nodes = 61085

Opening bct.dat
Process rank( 0) has 265 bct nodes.

Simulation Type: RIGID WALL

Number of global nonzeros 893785
maxfill= 24
nnz ok nnz= 35 actually needed 15
0 is my rank and my nnz_tot is: 893785
1 2.000E+00 3.401E-01 ( 0) 1.813E+02 1.087E+28 < 44037- 1| 16> [ 0 - 0]
1 4.000E+00 4.330E-01 ( 1) 1.563E-01 1.816E-02 < 28572- 1| 11> [ 0 - 0]
2 6.000E+00 1.290E+00 ( 5) 4.623E-01 9.194E-01 < 54209- 1| 10> [ 0 - 0]
2 8.000E+00 1.020E+00 ( 4) 6.276E-01 3.285E-02 < 54209- 1| 12> [ 0 - 0]
3 1.000E+01 1.430E+00 ( 6) 3.515E-01 4.676E-02 < 35542- 1| 14> [ 0 - 0]
3 1.100E+01 1.134E+00 ( 5) 3.282E-01 2.577E-02 < 36115- 1| 13> [ 0 - 0]
4 1.300E+01 1.583E+00 ( 6) 3.184E-01 5.721E-02 < 38532- 1| 14> [ 0 - 0]
4 1.500E+01 9.752E-01 ( 4) 1.733E-01 1.962E-02 < 38532- 1| 13> [ 0 - 0]
5 1.700E+01 1.155E+00 ( 5) 1.500E-01 3.171E-02 < 54908- 1| 12> [ 0 - 0]
5 1.800E+01 9.261E-01 ( 4) 1.420E-01 1.642E-02 < 54908- 1| 13> [ 0 - 0]
6 2.000E+01 9.676E-01 ( 4) 1.019E-01 1.663E-02 < 43500- 1| 10> [ 0 - 0]
6 2.200E+01 7.717E-01 ( 3) 1.257E-01 9.391E-03 < 43500- 1| 11> [ 0 - 0]
7 2.400E+01 8.958E-01 ( 4) 6.051E-02 1.102E-02 < 49832- 1| 11> [ 0 - 0]
7 2.500E+01 7.183E-01 ( 3) 1.266E-01 8.299E-03 < 34903- 1| 11> [ 0 - 0]
8 2.700E+01 8.291E-01 ( 3) 4.588E-02 8.103E-03 < 37805- 1| 11> [ 0 - 0]
8 2.900E+01 6.659E-01 ( 2) 1.187E-01 6.634E-03 < 34547- 1| 11> [ 0 - 0]
9 3.100E+01 6.891E-01 ( 3) 6.102E-02 7.378E-03 < 17731- 1| 11> [ 0 - 0]
9 3.200E+01 5.777E-01 ( 2) 9.156E-02 5.698E-03 < 33197- 1| 11> [ 0 - 0]
10 3.400E+01 6.697E-01 ( 2) 7.738E-02 7.068E-03 < 24551- 1| 11> [ 0 - 0]
10 3.600E+01 6.083E-01 ( 2) 1.058E-01 5.580E-03 < 17731- 1| 11> [ 0 - 0]
Attachments
스크린샷 2023-10-09 오후 12.39.59.png
스크린샷 2023-10-09 오후 12.39.59.png (77.75 KiB) Viewed 235 times

User avatar
David Parker
Posts: 1717
Joined: Tue Aug 23, 2005 2:43 pm

Re: simulation converting related error

Post by David Parker » Mon Oct 09, 2023 12:01 pm

Hello,

If you set the number of time steps as 10 and number of time steps between restarts as 5 then the solver results will start with file restart.5.1. From the directory listing you attached you can see that there is no restart.1.1 file.

You need to specify the correct Start and Stop times when you convert the simulation results.

Cheers,
Dave

POST REPLY