abarret / multiphase-stokes

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

Add option for setting the nullspace when rho=0 #57

Closed abarret closed 9 months ago

abarret commented 10 months ago

Adds option to add constant velocities to nullspace. Note that if the drag coefficient is also zero, this introduces more elements to the nullspace. This commit does not address those.

This also adds the forcing variables to the output visualizations.

bindi-nagda commented 10 months ago

Thanks Aaron! Looks good to me. I’ll make a note of adding has_vel_nullspace=TRUE in the HierarchyIntegrator db in my input file if I set rho=0. I’ll also set drag coefficient to a non-zero value.

abarret commented 10 months ago

I'm not sure, but I don't think there's a velocity nullspace if rho != 0 and drag coefficient = 0

bindi-nagda commented 10 months ago

I'm not sure, but I don't think there's a velocity nullspace if rho != 0 and drag coefficient = 0

I’ve been using this for the convergence tests and the solver is doing great!