mjayadharan / MMMFE-ST-DD

Fluid flow simulator using MFEM and multiscale space-time sub-domains.
3 stars 1 forks source link

Mixed bc #19

Closed mjayadharan closed 4 years ago

mjayadharan commented 4 years ago

Added the mixed boundary condition functinality. Details are hidden from the user inside the darcy_vtdd.cc in DarcyVTProblem::make_grid_and_dofs(). Users can use this feature by modifying the parameter file like in the following example:

left_bc: D 0.0  
bottom_bc: N 0.0  
right_bc: D 0.0  
top_bc: N 1.0  

The above input in the parameter.txt file means velocity.n=0 and velocity.n=1 on the bottom and bottom boundary repescitvely.