Skip to content

rmcell -> seg fault #436

Answered by rquey
wverestek asked this question in Q&A
Apr 11, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I understand that you would like to generate a tess file; however, grow,renumber is only for a tesr. All you can do for a tess is to proceed in successive steps:

Example:

# Generate nominal tessellation, export cell sizes, seed coos and weights, and cell orientations
neper -T -n 100 -dim 2 -morpho gg  -statcell size -statseed x,y,w -for tess,ori -o n100

# Exclude 10 smaller cells, write values to tmp file 
paste n100.stcell n100.stseed n100.ori | sort -nk1 | tail -90 > tmp

# Write seed coos, seed weights and cell orientations to file
awk '{print $2,$3}' tmp > coo
awk '{print $4}' tmp > weight
awk '{print $5,$6,$7}' tmp > ori

# Generate new tess (with 10 less grains) from new seed coos …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wverestek
Comment options

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