Skip to content

Commit

Permalink
change fluid and solid material properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenxiZhaoTUM committed Sep 11, 2024
1 parent 9fb7172 commit 7c75fd5
Show file tree
Hide file tree
Showing 10 changed files with 129 additions and 130 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ Real level_set_refinement_ratio = resolution_ref / (0.1 * BW);
// Global parameters on the fluid properties.
//----------------------------------------------------------------------
Real Outlet_pressure = 0;
Real rho0_f = 1000.0; /**< Reference density of fluid. */
Real rho0_f = 1.0; /**< Reference density of fluid. Using air density here.*/
Real Re = 100.0; /**< Reynolds number. */
Real U_f = 1.0; /**< Characteristic velocity. */
Real mu_f = rho0_f * U_f * DH / Re; /**< Dynamics viscosity. */
Real c_f = 10.0 * U_f * SMAX(Real(1), DH / (Real(2.0) * (DL - DL1))); /** Reference sound speed needs to consider the flow speed in the narrow channels. */
//----------------------------------------------------------------------
// Material parameters of the shell.
//----------------------------------------------------------------------
Real rho0_s = 1120; /** Normalized density. */
Real Youngs_modulus = 1.08e8; /** Normalized Youngs Modulus. */
Real poisson = 0.49; /** Poisson ratio. */
Real rho0_s = 1.0e3; /** Normalized density. */
Real Youngs_modulus = 1.0e6; /** Normalized Youngs Modulus. */
Real poisson = 0.3; /** Poisson ratio. */
//----------------------------------------------------------------------
// Define geometry of SPH bodies.
//----------------------------------------------------------------------
Expand Down Expand Up @@ -521,4 +521,4 @@ int main(int ac, char *av[])
}

return 0;
}
}
Original file line number Diff line number Diff line change
@@ -1,113 +1,112 @@
<?xml version="1.0" encoding="UTF-8" ?>
<Velocity>
<Snapshot_0 Velocity_0="~[-2.32043e-08,-4.15925e-17]" />
<Snapshot_100 Velocity_0="~[0.0031782,-0.0135045]" />
<Snapshot_200 Velocity_0="~[0.0402275,-0.0424353]" />
<Snapshot_300 Velocity_0="~[0.081683,-0.0944316]" />
<Snapshot_400 Velocity_0="~[0.104439,-0.0929563]" />
<Snapshot_500 Velocity_0="~[0.212735,-0.0814568]" />
<Snapshot_600 Velocity_0="~[0.191958,-0.298625]" />
<Snapshot_700 Velocity_0="~[0.252965,-0.333507]" />
<Snapshot_800 Velocity_0="~[0.257762,-0.358379]" />
<Snapshot_900 Velocity_0="~[0.327762,-0.411954]" />
<Snapshot_1000 Velocity_0="~[0.280011,-0.524293]" />
<Snapshot_1100 Velocity_0="~[0.314379,-0.40616]" />
<Snapshot_1200 Velocity_0="~[0.208269,-0.759473]" />
<Snapshot_1300 Velocity_0="~[0.19548,-0.850964]" />
<Snapshot_1400 Velocity_0="~[0.314863,-0.650865]" />
<Snapshot_1500 Velocity_0="~[0.272101,-0.626887]" />
<Snapshot_1600 Velocity_0="~[0.407814,-0.45411]" />
<Snapshot_1700 Velocity_0="~[0.420228,-0.648068]" />
<Snapshot_1800 Velocity_0="~[0.476463,-0.583026]" />
<Snapshot_1900 Velocity_0="~[0.417086,-0.405228]" />
<Snapshot_2000 Velocity_0="~[0.256665,-0.57245]" />
<Snapshot_2100 Velocity_0="~[0.493088,-0.553451]" />
<Snapshot_2200 Velocity_0="~[0.327375,-0.512134]" />
<Snapshot_2300 Velocity_0="~[0.299559,-0.469497]" />
<Snapshot_2400 Velocity_0="~[0.405116,-0.712031]" />
<Snapshot_2500 Velocity_0="~[0.30695,-0.593231]" />
<Snapshot_2600 Velocity_0="~[0.398419,-0.540847]" />
<Snapshot_2700 Velocity_0="~[0.394792,-0.537884]" />
<Snapshot_2800 Velocity_0="~[0.316067,-0.58368]" />
<Snapshot_2900 Velocity_0="~[0.422151,-0.526531]" />
<Snapshot_3000 Velocity_0="~[0.484672,-0.515571]" />
<Snapshot_3100 Velocity_0="~[0.307123,-0.610321]" />
<Snapshot_3200 Velocity_0="~[0.321172,-0.600522]" />
<Snapshot_3300 Velocity_0="~[0.331041,-0.615958]" />
<Snapshot_3400 Velocity_0="~[0.35248,-0.565027]" />
<Snapshot_3500 Velocity_0="~[0.39994,-0.566625]" />
<Snapshot_3600 Velocity_0="~[0.343948,-0.533815]" />
<Snapshot_3700 Velocity_0="~[0.48608,-0.535269]" />
<Snapshot_3800 Velocity_0="~[0.337355,-0.615232]" />
<Snapshot_3900 Velocity_0="~[0.408763,-0.622732]" />
<Snapshot_4000 Velocity_0="~[0.451521,-0.526342]" />
<Snapshot_4100 Velocity_0="~[0.347938,-0.547187]" />
<Snapshot_4200 Velocity_0="~[0.333074,-0.646318]" />
<Snapshot_4300 Velocity_0="~[0.469833,-0.579356]" />
<Snapshot_4400 Velocity_0="~[0.514984,-0.583228]" />
<Snapshot_4500 Velocity_0="~[0.378956,-0.685597]" />
<Snapshot_4600 Velocity_0="~[0.445277,-0.590008]" />
<Snapshot_4700 Velocity_0="~[0.293392,-0.570813]" />
<Snapshot_4800 Velocity_0="~[0.412654,-0.355203]" />
<Snapshot_4900 Velocity_0="~[0.40484,-0.649548]" />
<Snapshot_5000 Velocity_0="~[0.305967,-0.469871]" />
<Snapshot_5100 Velocity_0="~[0.417836,-0.500913]" />
<Snapshot_5200 Velocity_0="~[0.328555,-0.579105]" />
<Snapshot_5300 Velocity_0="~[0.298206,-0.813429]" />
<Snapshot_5400 Velocity_0="~[0.489596,-0.388254]" />
<Snapshot_5500 Velocity_0="~[0.286775,-0.568086]" />
<Snapshot_5600 Velocity_0="~[0.345852,-0.672199]" />
<Snapshot_5700 Velocity_0="~[0.397195,-0.514244]" />
<Snapshot_5800 Velocity_0="~[0.274142,-0.551751]" />
<Snapshot_5900 Velocity_0="~[0.28354,-0.618924]" />
<Snapshot_6000 Velocity_0="~[0.436641,-0.508811]" />
<Snapshot_6100 Velocity_0="~[0.317042,-0.565049]" />
<Snapshot_6200 Velocity_0="~[0.337559,-0.590924]" />
<Snapshot_6300 Velocity_0="~[0.353434,-0.655476]" />
<Snapshot_6400 Velocity_0="~[0.472731,-0.517617]" />
<Snapshot_6500 Velocity_0="~[0.335557,-0.584884]" />
<Snapshot_6600 Velocity_0="~[0.315897,-0.634077]" />
<Snapshot_6700 Velocity_0="~[0.395732,-0.385384]" />
<Snapshot_6800 Velocity_0="~[0.534522,-0.678666]" />
<Snapshot_6900 Velocity_0="~[0.277421,-0.604479]" />
<Snapshot_7000 Velocity_0="~[0.380699,-0.591327]" />
<Snapshot_7100 Velocity_0="~[0.410969,-0.605396]" />
<Snapshot_7200 Velocity_0="~[0.435847,-0.579991]" />
<Snapshot_7300 Velocity_0="~[0.410501,-0.503384]" />
<Snapshot_7400 Velocity_0="~[0.485816,-0.358194]" />
<Snapshot_7500 Velocity_0="~[0.479636,-0.554862]" />
<Snapshot_7600 Velocity_0="~[0.407968,-0.615778]" />
<Snapshot_7700 Velocity_0="~[0.440826,-0.579876]" />
<Snapshot_7800 Velocity_0="~[0.390417,-0.637155]" />
<Snapshot_7900 Velocity_0="~[0.407487,-0.560633]" />
<Snapshot_8000 Velocity_0="~[0.286885,-0.591752]" />
<Snapshot_8100 Velocity_0="~[0.444278,-0.6021]" />
<Snapshot_8200 Velocity_0="~[0.290068,-0.572215]" />
<Snapshot_8300 Velocity_0="~[0.448793,-0.578843]" />
<Snapshot_8400 Velocity_0="~[0.408012,-0.671983]" />
<Snapshot_8500 Velocity_0="~[0.376166,-0.603296]" />
<Snapshot_8600 Velocity_0="~[0.257039,-0.830619]" />
<Snapshot_8700 Velocity_0="~[0.4215,-0.575056]" />
<Snapshot_8800 Velocity_0="~[0.416172,-0.585634]" />
<Snapshot_8900 Velocity_0="~[0.358973,-0.585282]" />
<Snapshot_9000 Velocity_0="~[0.269164,-0.862698]" />
<Snapshot_9100 Velocity_0="~[0.407092,-0.632949]" />
<Snapshot_9200 Velocity_0="~[0.270017,-0.565596]" />
<Snapshot_9300 Velocity_0="~[0.430216,-0.426265]" />
<Snapshot_9400 Velocity_0="~[0.35608,-0.597747]" />
<Snapshot_9500 Velocity_0="~[0.34537,-0.672836]" />
<Snapshot_9600 Velocity_0="~[0.289625,-0.583016]" />
<Snapshot_9700 Velocity_0="~[0.237076,-0.596955]" />
<Snapshot_9800 Velocity_0="~[0.314297,-0.562794]" />
<Snapshot_9900 Velocity_0="~[0.413629,-0.526141]" />
<Snapshot_10000 Velocity_0="~[0.451856,-0.538209]" />
<Snapshot_10100 Velocity_0="~[0.270369,-0.569563]" />
<Snapshot_10200 Velocity_0="~[0.421779,-0.639864]" />
<Snapshot_10300 Velocity_0="~[0.443827,-0.567934]" />
<Snapshot_10400 Velocity_0="~[0.262354,-0.550005]" />
<Snapshot_10500 Velocity_0="~[0.362322,-0.620282]" />
<Snapshot_10600 Velocity_0="~[0.388248,-0.66363]" />
<Snapshot_10700 Velocity_0="~[0.306083,-0.651707]" />
<Snapshot_10800 Velocity_0="~[0.400797,-0.566766]" />
<Snapshot_10900 Velocity_0="~[0.296056,-0.610142]" />
<Snapshot_0 Velocity_0="~[-2.30224e-08,-2.77727e-17]" />
<Snapshot_100 Velocity_0="~[0.0157108,-0.0145354]" />
<Snapshot_200 Velocity_0="~[0.0800778,-0.0444734]" />
<Snapshot_300 Velocity_0="~[0.161433,-0.11118]" />
<Snapshot_400 Velocity_0="~[0.23722,-0.204363]" />
<Snapshot_500 Velocity_0="~[0.36256,-0.251803]" />
<Snapshot_600 Velocity_0="~[0.405496,-0.376209]" />
<Snapshot_700 Velocity_0="~[0.511335,-0.45681]" />
<Snapshot_800 Velocity_0="~[0.65117,-0.503931]" />
<Snapshot_900 Velocity_0="~[0.723878,-0.513792]" />
<Snapshot_1000 Velocity_0="~[0.645846,-0.563813]" />
<Snapshot_1100 Velocity_0="~[0.696618,-0.568827]" />
<Snapshot_1200 Velocity_0="~[0.723719,-0.661452]" />
<Snapshot_1300 Velocity_0="~[0.838995,-0.40154]" />
<Snapshot_1400 Velocity_0="~[0.884947,-0.445374]" />
<Snapshot_1500 Velocity_0="~[0.903409,-0.407909]" />
<Snapshot_1600 Velocity_0="~[0.669029,-0.668735]" />
<Snapshot_1700 Velocity_0="~[0.881073,-0.478008]" />
<Snapshot_1800 Velocity_0="~[0.678306,-0.612414]" />
<Snapshot_1900 Velocity_0="~[0.91054,-0.422767]" />
<Snapshot_2000 Velocity_0="~[0.774241,-0.517829]" />
<Snapshot_2100 Velocity_0="~[0.716504,-0.681817]" />
<Snapshot_2200 Velocity_0="~[0.610471,-0.689505]" />
<Snapshot_2300 Velocity_0="~[0.697728,-0.623121]" />
<Snapshot_2400 Velocity_0="~[0.624889,-0.650384]" />
<Snapshot_2500 Velocity_0="~[0.864787,-0.528342]" />
<Snapshot_2600 Velocity_0="~[0.637708,-0.654729]" />
<Snapshot_2700 Velocity_0="~[0.888838,-0.396423]" />
<Snapshot_2800 Velocity_0="~[0.634742,-0.651657]" />
<Snapshot_2900 Velocity_0="~[0.814116,-0.545418]" />
<Snapshot_3000 Velocity_0="~[0.660069,-0.659002]" />
<Snapshot_3100 Velocity_0="~[0.766077,-0.551758]" />
<Snapshot_3200 Velocity_0="~[0.894325,-0.410449]" />
<Snapshot_3300 Velocity_0="~[0.862706,-0.469611]" />
<Snapshot_3400 Velocity_0="~[0.704217,-0.616154]" />
<Snapshot_3500 Velocity_0="~[0.848447,-0.506168]" />
<Snapshot_3600 Velocity_0="~[0.868085,-0.435006]" />
<Snapshot_3700 Velocity_0="~[0.86904,-0.482168]" />
<Snapshot_3800 Velocity_0="~[0.713495,-0.654473]" />
<Snapshot_3900 Velocity_0="~[0.850577,-0.456864]" />
<Snapshot_4000 Velocity_0="~[0.676009,-0.619772]" />
<Snapshot_4100 Velocity_0="~[0.8345,-0.476257]" />
<Snapshot_4200 Velocity_0="~[0.708843,-0.606341]" />
<Snapshot_4300 Velocity_0="~[0.881594,-0.465806]" />
<Snapshot_4400 Velocity_0="~[0.768936,-0.543143]" />
<Snapshot_4500 Velocity_0="~[0.709142,-0.602727]" />
<Snapshot_4600 Velocity_0="~[0.841918,-0.512221]" />
<Snapshot_4700 Velocity_0="~[0.855081,-0.475116]" />
<Snapshot_4800 Velocity_0="~[0.88614,-0.459254]" />
<Snapshot_4900 Velocity_0="~[0.629027,-0.637416]" />
<Snapshot_5000 Velocity_0="~[0.860212,-0.496421]" />
<Snapshot_5100 Velocity_0="~[0.662178,-0.667834]" />
<Snapshot_5200 Velocity_0="~[0.864965,-0.447682]" />
<Snapshot_5300 Velocity_0="~[0.667128,-0.621748]" />
<Snapshot_5400 Velocity_0="~[0.673998,-0.652084]" />
<Snapshot_5500 Velocity_0="~[0.712193,-0.667494]" />
<Snapshot_5600 Velocity_0="~[0.815435,-0.567116]" />
<Snapshot_5700 Velocity_0="~[0.696907,-0.612736]" />
<Snapshot_5800 Velocity_0="~[0.689781,-0.673502]" />
<Snapshot_5900 Velocity_0="~[0.885517,-0.424074]" />
<Snapshot_6000 Velocity_0="~[0.911346,-0.409748]" />
<Snapshot_6100 Velocity_0="~[0.654256,-0.628051]" />
<Snapshot_6200 Velocity_0="~[0.794011,-0.635814]" />
<Snapshot_6300 Velocity_0="~[0.771846,-0.573746]" />
<Snapshot_6400 Velocity_0="~[0.697075,-0.55933]" />
<Snapshot_6500 Velocity_0="~[0.870619,-0.484459]" />
<Snapshot_6600 Velocity_0="~[0.821016,-0.520593]" />
<Snapshot_6700 Velocity_0="~[0.767005,-0.551059]" />
<Snapshot_6800 Velocity_0="~[0.683607,-0.687948]" />
<Snapshot_6900 Velocity_0="~[0.822526,-0.457695]" />
<Snapshot_7000 Velocity_0="~[0.675539,-0.724322]" />
<Snapshot_7100 Velocity_0="~[0.729516,-0.588119]" />
<Snapshot_7200 Velocity_0="~[0.694671,-0.622034]" />
<Snapshot_7300 Velocity_0="~[0.892868,-0.442323]" />
<Snapshot_7400 Velocity_0="~[0.719401,-0.630813]" />
<Snapshot_7500 Velocity_0="~[0.869865,-0.522863]" />
<Snapshot_7600 Velocity_0="~[0.735275,-0.614091]" />
<Snapshot_7700 Velocity_0="~[0.919908,-0.401207]" />
<Snapshot_7800 Velocity_0="~[0.653671,-0.680264]" />
<Snapshot_7900 Velocity_0="~[0.903386,-0.403843]" />
<Snapshot_8000 Velocity_0="~[0.884327,-0.434782]" />
<Snapshot_8100 Velocity_0="~[0.890842,-0.428124]" />
<Snapshot_8200 Velocity_0="~[0.739376,-0.619204]" />
<Snapshot_8300 Velocity_0="~[0.772208,-0.569912]" />
<Snapshot_8400 Velocity_0="~[0.68325,-0.617734]" />
<Snapshot_8500 Velocity_0="~[0.84986,-0.495047]" />
<Snapshot_8600 Velocity_0="~[0.869138,-0.460459]" />
<Snapshot_8700 Velocity_0="~[0.721815,-0.57346]" />
<Snapshot_8800 Velocity_0="~[0.853335,-0.45512]" />
<Snapshot_8900 Velocity_0="~[0.769605,-0.59894]" />
<Snapshot_9000 Velocity_0="~[0.73204,-0.5471]" />
<Snapshot_9100 Velocity_0="~[0.716419,-0.659208]" />
<Snapshot_9200 Velocity_0="~[0.835155,-0.465386]" />
<Snapshot_9300 Velocity_0="~[0.698743,-0.575834]" />
<Snapshot_9400 Velocity_0="~[0.644306,-0.613631]" />
<Snapshot_9500 Velocity_0="~[0.710236,-0.657327]" />
<Snapshot_9600 Velocity_0="~[0.71245,-0.596109]" />
<Snapshot_9700 Velocity_0="~[0.714036,-0.606444]" />
<Snapshot_9800 Velocity_0="~[0.701822,-0.592678]" />
<Snapshot_9900 Velocity_0="~[0.728713,-0.613849]" />
<Snapshot_10000 Velocity_0="~[0.888596,-0.523821]" />
<Snapshot_10100 Velocity_0="~[0.693545,-0.66773]" />
<Snapshot_10200 Velocity_0="~[0.872222,-0.330429]" />
<Snapshot_10300 Velocity_0="~[0.68322,-0.648054]" />
<Snapshot_10400 Velocity_0="~[0.741488,-0.560039]" />
<Snapshot_10500 Velocity_0="~[0.672656,-0.637728]" />
<Snapshot_10600 Velocity_0="~[0.798883,-0.522367]" />
<Snapshot_10700 Velocity_0="~[0.662939,-0.626912]" />
<Snapshot_10800 Velocity_0="~[0.802411,-0.568341]" />
</Velocity>
Loading

0 comments on commit 7c75fd5

Please sign in to comment.