Skip to content

Commit

Permalink
found two bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangyu-Hu committed Jun 22, 2024
1 parent 0bb9fde commit 28208e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ bool FreeSurfaceIndication<Inner<>>::isVeryNearFreeSurface(size_t index_i)
FreeSurfaceIndication<Inner<SpatialTemporal>>::
FreeSurfaceIndication(BaseInnerRelation &inner_relation)
: FreeSurfaceIndication<Inner<>>(inner_relation),
previous_surface_indicator_(*particles_->registerSharedVariable<int>("PreviousSurfaceIndicator"))
previous_surface_indicator_(*particles_->registerSharedVariable<int>("PreviousSurfaceIndicator", 1))
{
particles_->addVariableToSort<int>("PreviousSurfaceIndicator");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ViscousForceFromFluidInFVM::ViscousForceFromFluidInFVM(BaseInnerRelation &inner_
mu_(fluid_.ReferenceViscosity()),
each_boundary_type_contact_real_index_(each_boundary_type_contact_real_index)
{
force_from_fluid_ = particles_->registerSharedVariable<Vecd>("ViscousForceFromFluid");
force_from_fluid_ = particles_->registerSharedVariable<Vecd>("ViscousForceOnSolid");
}
//=================================================================================================//
void ViscousForceFromFluidInFVM::interaction(size_t index_i, Real dt)
Expand Down

0 comments on commit 28208e7

Please sign in to comment.