Skip to content

-morphooptiini error #427

Answered by rquey
joshuajaistein asked this question in Q&A
Discussion options

You must be logged in to vote

First, use -domain "cube(5,4,3)" instead of -tesrsize 5:4:3.
Then, your seed file corresponds to a degenerate configuration where more than 4 cells intersect at a given vertex. Randomize the positions and it will be fine:

for i in 1 2 3
do
  gsl-randist $i 70 flat -1e-6 1e-6 > rand$i
done
paste neperinput.txt rand? | awk '{print $1+$4,$2+$5,$3+$6}' neperinput.txt > neperinput.txt2 
neper -T -n 70 -morphooptiini "coo:file(neperinput.txt2)" -domain "cube(5,4,3)" -periodicity 'all' -format 'tesr,vtk' -tesrsize 50:40:30
neper -V n70-id1.tesr -print img

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rquey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants