Skip to content

Commit

Permalink
decrease the domain size and resoultions
Browse files Browse the repository at this point in the history
  • Loading branch information
dfds committed Jul 24, 2023
1 parent 691109e commit d270ed1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ using namespace SPH;
//----------------------------------------------------------------------
// Basic geometry parameters and numerical setup.
//----------------------------------------------------------------------
Real DL = 20.0; /**< Channel length. */
Real DH = 15.0; /**< Channel height. */
Real resolution_ref = 1.0 / 5.0; /**< Initial reference particle spacing. */
Real DL = 15.0; /**< Channel length. */
Real DH = 10.0; /**< Channel height. */
Real resolution_ref = 1.0 / 4.0; /**< Initial reference particle spacing. */
Real DL_sponge = resolution_ref * 2.0; /**< Sponge region to impose inflow condition. */
Real DH_sponge = resolution_ref * 2.0; /**< Sponge region to impose inflow condition. */
Vec2d cylinder_center(6.0, DH / 2.0); /**< Location of the cylinder center. */
Vec2d cylinder_center(4.0, DH / 2.0); /**< Location of the cylinder center. */
Real cylinder_radius = 1.0; /**< Radius of the cylinder. */
//----------------------------------------------------------------------
// Material properties of the fluid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ int main(int ac, char *av[])
InteractionWithUpdate<Integration1stHalfAcousticRiemannWithWall> pressure_relaxation(water_block_complex);
InteractionWithUpdate<Integration2ndHalfAcousticRiemannWithWall> density_relaxation(water_block_complex);
InteractionDynamics<ViscousAccelerationWithWall> viscous_acceleration(water_block_complex);
ReduceDynamics<EulerianWCAcousticTimeStepSize> get_fluid_time_step_size(water_block, 0.3);
ReduceDynamics<EulerianWCAcousticTimeStepSize> get_fluid_time_step_size(water_block, 0.5);
InteractionWithUpdate<fluid_dynamics::FreeSurfaceIndicationComplex> surface_indicator(water_block_complex.getInnerRelation(), water_block_complex.getContactRelation());
Dynamics1Level<FarFieldBoundary> variable_reset_in_boundary_condition(water_block_complex.getInnerRelation());
//----------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ using namespace SPH;
//----------------------------------------------------------------------
// Basic geometry parameters and numerical setup.
//----------------------------------------------------------------------
Real DL = 20.0; /**< Channel length. */
Real DH = 15.0; /**< Channel height. */
Real resolution_ref = 1.0 / 5.0; /**< Initial reference particle spacing. */
Real DL = 15.0; /**< Channel length. */
Real DH = 10.0; /**< Channel height. */
Real resolution_ref = 1.0 / 4.0; /**< Initial reference particle spacing. */
Real DL_sponge = resolution_ref * 2.0; /**< Sponge region to impose inflow condition. */
Real DH_sponge = resolution_ref * 2.0; /**< Sponge region to impose inflow condition. */
Vec2d cylinder_center(6.0, DH / 2.0); /**< Location of the cylinder center. */
Vec2d cylinder_center(4.0, DH / 2.0); /**< Location of the cylinder center. */
Real cylinder_radius = 1.0; /**< Radius of the cylinder. */
//----------------------------------------------------------------------
// Material properties of the fluid.
Expand Down

0 comments on commit d270ed1

Please sign in to comment.