Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This specific 1d solver input file does not run #70

Open
JonathanPham opened this issue Sep 18, 2020 · 4 comments
Open

This specific 1d solver input file does not run #70

JonathanPham opened this issue Sep 18, 2020 · 4 comments
Assignees

Comments

@JonathanPham
Copy link

If I run the attached 1d solver input file, the 1d solver fails automatically. This is the error message that I get:

OneDSolver: /home/jonathanpham/Documents/Marsden_Lab/svOneDSolver_versions/091720/svOneDSolver/Code/Source/cvOneDFEAVector.cxx:164: void cvOneDFEAVector::CheckPositive(int, int, int): Assertion `cvOneDFEAVector::Get(i) >= 0.0' failed.
Aborted (core dumped)

However, on line 2119 of the attached input file, there is a commented material card. If I remove this commented out line from the input file, then the 1d solver will run and successfully complete.

The commented material card line, for your reference is:
#MATERIAL MAT1 OLUFSEN 1.06 0.04 0.0 2.0 2.0e7 -22.5267 8.65e5

0002_0001.inp.zip

@mrp089 mrp089 self-assigned this Sep 19, 2020
@mrp089
Copy link
Member

mrp089 commented Sep 19, 2020

The attached simulation runs without problems for me.

If I comment line 2118 (no materials defined), svOneDSolver fails as expected with
ERROR: Cannot Find Material for key MAT1

If I uncomment line 2119 (two materials defined), svOneDSolver fails as expected with
ERROR: Double Material Name: MAT1

If I comment line 2118 and uncomment line 2119 (i.e. use the second material) the simulation runs without problems.

@JonathanPham can you upload two files, one working and one not?

@JonathanPham
Copy link
Author

JonathanPham commented Sep 19, 2020

models.zip @mrp089 Is this what you are looking for?

Two files (one working and one not) are attached here. Running good.inp works but running bad.inp does not. Running bad.inp leads to the error described above (reproduced below for convenience).

OneDSolver: /home/jonathanpham/Documents/Marsden_Lab/svOneDSolver_versions/091720/svOneDSolver/Code/Source/cvOneDFEAVector.cxx:164: void cvOneDFEAVector::CheckPositive(int, int, int): Assertion `cvOneDFEAVector::Get(i) >= 0.0' failed.
Aborted (core dumped)

@mrp089
Copy link
Member

mrp089 commented Sep 21, 2020

Both input files good.inp and bad.inp run for me (skyline solver) and produce identical results. @JonathanPham can you check that you're using the same input files and the latest version of svOneDSolver?

@JonathanPham
Copy link
Author

@mrp089 I'm using the exact same input files as you (skyline solver too) and the latest version of svOneDSolver (just installed and compiled today) and I still get the exact same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants