Solution: Create data files wrong

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Dai Xiao Dai
Posts: 54
Joined: Thu Jan 04, 2018 12:49 am

Solution: Create data files wrong

Post by Dai Xiao Dai » Thu Nov 29, 2018 6:37 am

Dear developer,

I found that it failed to create data files when I created mesh with boundary layer.
Compared with the job with a common mesh, geombc.dat.1, restart.0.1 missed.
When I chose Convert Boundary Layer to New Region/Domain, bct.dat was even 0 KB and bct.vtp disappeared.

What's wrong with it?

Thank you very much and may you a sweet day. -V-

Yours,
Dai

User avatar
Peter Patalano
Posts: 25
Joined: Thu Jul 26, 2018 9:11 am

Re: Solution: Create data files wrong

Post by Peter Patalano » Thu Nov 29, 2018 1:03 pm

I am currently experiencing the same issue. When run from the command line, the program seems to fail here:

Code: Select all

LINE 0000: mesh_and_adjncy_vtu mesh-complete/mesh-complete.mesh.vtu

LINE 0001: set_surface_id_vtp mesh-complete/mesh-complete.exterior.vtp
LINE 0002: set_surface_id_vtp mesh-complete/mesh-surfaces/cca.vtp 2

LINE 0003: set_surface_id_vtp mesh-complete/mesh-surfaces/eca.vtp 3

LINE 0004: set_surface_id_vtp mesh-complete/mesh-surfaces/ica.vtp 4

LINE 0005: fluid_density 1.06

LINE 0006: fluid_viscosity 0.04

LINE 0007: initial_pressure 0

LINE 0008: initial_velocity 0.0001 0.0001 0.0001

LINE 0009: prescribed_velocities_vtp mesh-complete/mesh-surfaces/cca.vt
LINE 0010: bct_analytical_shape parabolic

LINE 0011: bct_period 1

LINE 0012: bct_point_number 2

LINE 0013: bct_fourier_mode_number 1

LINE 0014: bct_create mesh-complete/mesh-surfaces/cca.vtp cca.flow

LINE 0015: bct_write_dat bct.dat

User avatar
Peter Patalano
Posts: 25
Joined: Thu Jul 26, 2018 9:11 am

Re: Solution: Create data files wrong

Post by Peter Patalano » Thu Nov 29, 2018 1:11 pm

My mesh info is as follows

Number of Nodes: 167194
Number of Elems: 956497
Number of Edges: 73653
Number of Faces: 49102

Boundary layer is
Portion of edge: 0.50
Number of layers: 3
Layer decreasing ratio: 0.80

The mesh was created without issue

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

Re: Solution: Create data files wrong

Post by David Parker » Thu Nov 29, 2018 8:59 pm

Hi Peter,

What version of SimVascular are you using? There was a bug in the meshing plugin that was causing it to generate only surface meshes for both the fluid and solid regions.

The latest version of SimVascular has a fix for this problem. Please install it and let me know if that solves your problem.

Cheers,
Dave

User avatar
Dai Xiao Dai
Posts: 54
Joined: Thu Jan 04, 2018 12:49 am

Re: Solution: Create data files wrong

Post by Dai Xiao Dai » Fri Nov 30, 2018 5:50 am

Dear David,

I download the latest one(Windows) and have a try. However, it still filed to create data files if I use a mesh with boundary layer.
I use the Coronary Project from your course and the only different part is the mesh.

For advanced options
Global max edge size:0.075
Boundary Layer Meshing: yes
Portion of edge size: 0.60
Number of layers: 4
layer decreasing Ratio:0.80
Extrude boundary layer inward from wall: yes
Surface Meshing: yes
Volume meshing: yes
Others: no

for local size
wall_aorta:0.2
cap_aorta:0.2
cap_aorta_2:0.2
others:default

Then I got a mesh successfully:
Number of Nodes:121785
Number of Elems:677389
Number of edges:60789
Number of faces:40526

I set the same parameters as Coronary Project in Solution part. Then it failed to create data files and said " Svpre.bin stops work".
bct.dat 0kb
cap_aorta.flow 17kb
cort.dat 177kb
numstart.dat 1kb
rcrt.dat 1kb
solver.inp 2kb
test_job.svpre 2kb
I only got these files.

What's wrong?
Thanks a lot and may you a sweet day.^^

yours,
Dai

POST REPLY