whale geometry ajustment
The strategy laid out a few posts ago did not work. So I am diong this incrementally. Generate ls200000 on a coarse resolution (32×64x64) with zero levels. Input ls200000 into Avizo. Use a ROI to determine the shift in newxblob (which is a translation factor) in sci…f90 code. I have now set minima correctly.
xblob(1)=0.0
xblob(2)=0.0
xblob(3)=0.0
newxblob(1)=0.5
newxblob(2)=0.5
newxblob(3)=1.0
radblob=12.5
! try this ?
xblob(1)=0.0 ! will become y
xblob(2)=-1.0 ! will become -x
invertfactor(2)=-1.0
xblob(3)=0.0 ! will become z
newxblob(1)=0.5
newxblob(2)=1.0
newxblob(3)=0.5
!invertfactor(3)=-1.0
newxblob(1)=0.4
newxblob(2)=0.9
newxblob(3)=0.4
newxblob(1)=0.3
newxblob(2)=0.7
newxblob(3)=0.3
—–
Now I will setup the maximum sizes, which I would like to be: (1.3, 0.6, 0.6)
Do this by changing geometry_problem_hi in inputs.whale. This worked.
Now choose the ROI for the mouth: (.25 .45 .17 .43 .17 .43). Change this in inputs.whale, parameter ncoarseblocks, which states that anything outside this region has a tag=0 (no adaptivity). Anything inside is adapted based only on the level set.. set amr.max_level=2 (2 levels of refinement in the mouth only). Set amr.n_cell=(32,64,64) for now to check the code out.
It is already 8 min and still computing to generate the first level set file ls200000.
I stopped the code.
I am now experimenting with the plot format to avoid translating data to the finest level, which is quite impractical. Even if the output is restricted to the head of the whale, the refinement occurs over the entire grid.