Skip to content

Commit

Permalink
test-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuaihao-Zhang committed Sep 9, 2024
1 parent 49fb0e6 commit 9e54b64
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,14 @@
* @author Shuaihao Zhang, Dong Wu and Xiangyu Hu
*/
#include "taylor_bar_UL.h"
#include "sphinxsys.h"
using namespace SPH;

int main(int ac, char *av[])
{
/** Setup the system. Please the make sure the global domain bounds are correctly defined. */
SPHSystem system(system_domain_bounds, particle_spacing_ref);
system.handleCommandlineOptions(ac, av)->setIOEnvironment();
system.setRunParticleRelaxation(false);
system.setReloadParticles(true);
system.handleCommandlineOptions(ac, av)->setIOEnvironment();

RealBody column(system, makeShared<Column>("Column"));
column.defineBodyLevelSetShape()->writeLevelSet(system);
Expand Down Expand Up @@ -49,7 +47,7 @@ int main(int ac, char *av[])
/** Write the particle reload files. */
ReloadParticleIO write_particle_reload_files(column);
/** A Physics relaxation step. */
RelaxationStepLevelSetCorrectionInner relaxation_step_inner(column_inner);
RelaxationStepLevelSetInner relaxation_step_inner(column_inner);
/**
* @brief Particle relaxation starts here.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* @brief This is the case setup for plastic taylor bar using updated Lagragian SPH.
* @author Shuaihao Zhang, Dong Wu and Xiangyu Hu
*/
#pragma once
#include "sphinxsys.h"
using namespace SPH;
//----------------------------------------------------------------------
Expand Down
5 changes: 1 addition & 4 deletions tests/3d_examples/test_3d_taylor_bar_UL/taylor_bar_UL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
* @author Shuaihao Zhang, Dong Wu and Xiangyu Hu
*/
#include "taylor_bar_UL.h"
#include "sphinxsys.h"
using namespace SPH;

int main(int ac, char *av[])
{
/** Setup the system. Please the make sure the global domain bounds are correctly defined. */
Expand Down Expand Up @@ -49,7 +46,7 @@ int main(int ac, char *av[])
/** Write the particle reload files. */
ReloadParticleIO write_particle_reload_files(column);
/** A Physics relaxation step. */
RelaxationStepLevelSetCorrectionInner relaxation_step_inner(column_inner);
RelaxationStepInner relaxation_step_inner(column_inner);
/**
* @brief Particle relaxation starts here.
*/
Expand Down

0 comments on commit 9e54b64

Please sign in to comment.