mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-17 17:22:10 +00:00
fixed whitespace bug in reading *NODE block
This commit is contained in:
@@ -61,3 +61,21 @@ end
|
||||
mesh = abaqus_read_mesh(fn)
|
||||
@test length(mesh.nodes) == 3
|
||||
end
|
||||
|
||||
@testset "parse abaqus .inp created using hypermesh" begin
|
||||
data = """
|
||||
**
|
||||
** ABAQUS Input Deck Generated by HyperMesh Version : 14.0.120.28
|
||||
** Generated using HyperMesh-Abaqus Template Version : 14.0.120
|
||||
**
|
||||
** Template: ABAQUS/STANDARD 3D
|
||||
**
|
||||
*NODE , Nset = nset_csys0
|
||||
1, 2.649428 , -21.93735 , 217.2934
|
||||
2, 27.54531 , 1.108443 , 228.8077
|
||||
"""
|
||||
fn = tempname() * ".inp"
|
||||
open(fn, "w") do fid write(fid, data) end
|
||||
mesh = abaqus_read_mesh(fn)
|
||||
@test length(mesh.nodes) == 2
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user