abarret / multiphase-stokes

Solver a mixture of fluids based on IBAMR
1 stars 0 forks source link

Organizational changes #49

Closed abarret closed 1 year ago

abarret commented 1 year ago

This is mostly code movement.

There's currently a bug in the FAC operator with how restricting works. Currently the solver crashes unless the FAC solver uses V_CYCLE with zero pre smooths. I think this is related to #44 and the recent changes to the IBAMR master branch.

abarret commented 1 year ago

@bindi-nagda when you get a chance, I'd like your feedback on the changes, especially the removal of the input files.

bindi-nagda commented 1 year ago

@bindi-nagda when you get a chance, I'd like your feedback on the changes, especially the removal of the input files.

The input file organization looks good. I made a few corrections to the input files for time_stepping. input2d.varThn now matches what I'm using for convergence testing.

I also brought back input2d.var_theta.trans_vel and input2d.var_theta.norm_vel as I found them useful in the past for testing multigrid.

abarret commented 1 year ago

Note this fixes the case when the number of presweeps > 0. Also fixes the case when the number of sweeps = 1.