-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translate body part #45
Merged
BenceVirtonomy
merged 6 commits into
Xiangyu-Hu:master
from
Virtonomy:translate_body_part
Jul 30, 2021
Merged
Translate body part #45
BenceVirtonomy
merged 6 commits into
Xiangyu-Hu:master
from
Virtonomy:translate_body_part
Jul 30, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * disable tests for simbody * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change * Feature/position bc stent (#34) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change Co-authored-by: JohnVirtonomy <[email protected]> * -Werror only works for linux * TEST TranslateSolidBodyTuple * Update CMakeLists.txt remove werror flag for msvc * update from bitbucket 01.07.2021 * delete repeated files * brief information on google test in repo readme * delete clapack and simbody folder in root * google test works for windows but the unit test case did not copy stl file right in windows * now test_3d_unit works in windows. * information on installing google test in windows * add a comment on install ing for VS in windows * translation with same scale&unit test update * skip testing when [ci skip] in the commit message * update test_3d_unit - TranslateSolidBody not work * time-dependent-contact * number of time dep. contacts fixed * setup unit test for time dependent contact * Translate Solid Body fixed but tolerance is only 0.01 * output changed to 100 files always * 07.13.2021 update * typo * new files from bitbucket * update 07.13.2021 * time dependent contact fixed * time dep contact fixed * remove cout * time dep. contact tests finished * renaming * fix naming * move test class into seperate header * cmake changes * changing function names to lower case * change cmake list * small fix Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]>
chuvirtonomy
approved these changes
Jul 20, 2021
..._high_level_simulation/test_3d_unit_position_based_bc/position_based_boundary_conditions.cpp
Outdated
Show resolved
Hide resolved
..._high_level_simulation/test_3d_unit_position_based_bc/position_based_boundary_conditions.cpp
Outdated
Show resolved
Hide resolved
SPHINXsys/src/for_3D_build/high_level_simulation_class/solid_structural_simulation_class.cpp
Show resolved
Hide resolved
Xiangyu-Hu
reviewed
Jul 22, 2021
SPHINXsys/src/shared/particle_dynamics/solid_dynamics/solid_dynamics.cpp
Outdated
Show resolved
Hide resolved
Xiangyu-Hu
approved these changes
Jul 23, 2021
BenceVirtonomy
referenced
this pull request
in Virtonomy/SPHinXsys
Aug 11, 2021
* Translate body part (#45) * Feature/contact stent 2 (#10) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * disable tests for simbody * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change * Feature/position bc stent (#34) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change Co-authored-by: JohnVirtonomy <[email protected]> * -Werror only works for linux * TEST TranslateSolidBodyTuple * Update CMakeLists.txt remove werror flag for msvc * update from bitbucket 01.07.2021 * delete repeated files * brief information on google test in repo readme * delete clapack and simbody folder in root * google test works for windows but the unit test case did not copy stl file right in windows * now test_3d_unit works in windows. * information on installing google test in windows * add a comment on install ing for VS in windows * translation with same scale&unit test update * skip testing when [ci skip] in the commit message * update test_3d_unit - TranslateSolidBody not work * time-dependent-contact * number of time dep. contacts fixed * setup unit test for time dependent contact * Translate Solid Body fixed but tolerance is only 0.01 * output changed to 100 files always * 07.13.2021 update * typo * new files from bitbucket * update 07.13.2021 * time dependent contact fixed * time dep contact fixed * remove cout * time dep. contact tests finished * renaming * fix naming * move test class into seperate header * cmake changes * changing function names to lower case * change cmake list * small fix Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * TranslateSolidBodyPart added * particle relaxation fixed * change Get_ to get_ * checkIfPointInBoundingBox moved Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * update from bitbucket 07-30-2021 * replace the wrong gpuSPHinXsys * Simbody artifacts instead of installation * simbody variable added to cmake command * change path * conflict resolved * remove doubled test Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]>
BenceVirtonomy
added a commit
that referenced
this pull request
Sep 19, 2021
* Verification cases thesis (#15) * ConstrainSolidBody renamed * constrain solid body reagion added * force boundary condition * force BC edited * Pressure bc (#16) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * time dependent surface pressure works * cube case moved to source tests * Add test folder (#18) * Translate body part (#45) * Feature/contact stent 2 (#10) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * disable tests for simbody * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change * Feature/position bc stent (#34) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change Co-authored-by: JohnVirtonomy <[email protected]> * -Werror only works for linux * TEST TranslateSolidBodyTuple * Update CMakeLists.txt remove werror flag for msvc * update from bitbucket 01.07.2021 * delete repeated files * brief information on google test in repo readme * delete clapack and simbody folder in root * google test works for windows but the unit test case did not copy stl file right in windows * now test_3d_unit works in windows. * information on installing google test in windows * add a comment on install ing for VS in windows * translation with same scale&unit test update * skip testing when [ci skip] in the commit message * update test_3d_unit - TranslateSolidBody not work * time-dependent-contact * number of time dep. contacts fixed * setup unit test for time dependent contact * Translate Solid Body fixed but tolerance is only 0.01 * output changed to 100 files always * 07.13.2021 update * typo * new files from bitbucket * update 07.13.2021 * time dependent contact fixed * time dep contact fixed * remove cout * time dep. contact tests finished * renaming * fix naming * move test class into seperate header * cmake changes * changing function names to lower case * change cmake list * small fix Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * TranslateSolidBodyPart added * particle relaxation fixed * change Get_ to get_ * checkIfPointInBoundingBox moved Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * update from bitbucket 07-30-2021 * replace the wrong gpuSPHinXsys * Simbody artifacts instead of installation * simbody variable added to cmake command * change path * conflict resolved * remove doubled test Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * Pressure bc (#20) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * stress relaxation changed to Kirchhof * time dependent surface pressure works * cube case moved to source tests * cube test removed * add overtime to position based tests * go back to last working state * back to working version Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> * simulation class remvoed (#21) * fix numerical damping (#23) * Simbody lib seperate (#26) * remove submodules * simbody added on no lapack * simbody * cases user moved * scripts removed * simbody set to master * variables removed * 3d lib cmake * boost option * simbody linking to built libraries * renaming + 2D cmake * option subdir * werror * eigen in simbody * eigen added * eigen * eigen include * eigen * add wasmtbb * working wasm example * cmake changes * restore working wasm build * change memory pool for wasm * work on eigen Co-authored-by: wen-yang chu <[email protected]> * update simbody * Replace clapack (#27) * work on eigen * all tests pass with Eigen * macro renamed simbody * all SPH tests pass for static build * remove wasm files * first setup of spring on surface normal direction (#22) * first setup of spring on surface normal direction * adjusted combi of spring and pressure BC * correction of damping coefficient * simulation runs but too small time steps, only one vtu-file * consideration normal portion in opposite direction * creation of tests for vector calculations * simplification of vector norm calculation * small vector test working, but failing * small vector tests passing * angle tests added * correction of Vector Projection more test examples * correction of normal spring beam still spinning * adding of functions for vector calculations * change of spring force in right direction * debugging, still spinning after timestep 18 * change of vector calculation example * correction of normal spring force * for-loop removed, checking of spring & damping * area moved and considered in damping * adding gtest to CMakeLists * simplified dot_product_2 calculation * change from Vecd to Vec3d for calculations * changed Vector declaration and functions * correction of Spring and Damping Co-authored-by: JohnVirtonomy.io <[email protected]> * change pressure BC to be define by body part * SpringNormalOnSurfaceParticles with body part * option to use inner or outer surface for spring * zero position of particles fixed * emscripten option to disable gtest (#28) * emscripten option to disable gtest * comment out compiling flags * bug fix Co-authored-by: wen-yang chu <[email protected]> * find simbody * remove BUILD_WITH_SIMBODY from findsimbody * bernoulli beam added * bernoulli test case, no displacement * bernoulli beam works with gravity bug with pressure * fix comments * add comment * remove folder Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: JohnVirtonomy.io <[email protected]>
BenceVirtonomy
added a commit
that referenced
this pull request
Oct 13, 2021
* surface spring constraint added with test * add surface fixation * surface spring * better exception * findTBB edit * change error message Co-authored-by: JohnVirtonomy <[email protected]>
BenceVirtonomy
added a commit
that referenced
this pull request
Oct 22, 2021
* Verification cases thesis (#15) * ConstrainSolidBody renamed * constrain solid body reagion added * force boundary condition * force BC edited * Pressure bc (#16) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * time dependent surface pressure works * cube case moved to source tests * Add test folder (#18) * Translate body part (#45) * Feature/contact stent 2 (#10) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * disable tests for simbody * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change * Feature/position bc stent (#34) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change Co-authored-by: JohnVirtonomy <[email protected]> * -Werror only works for linux * TEST TranslateSolidBodyTuple * Update CMakeLists.txt remove werror flag for msvc * update from bitbucket 01.07.2021 * delete repeated files * brief information on google test in repo readme * delete clapack and simbody folder in root * google test works for windows but the unit test case did not copy stl file right in windows * now test_3d_unit works in windows. * information on installing google test in windows * add a comment on install ing for VS in windows * translation with same scale&unit test update * skip testing when [ci skip] in the commit message * update test_3d_unit - TranslateSolidBody not work * time-dependent-contact * number of time dep. contacts fixed * setup unit test for time dependent contact * Translate Solid Body fixed but tolerance is only 0.01 * output changed to 100 files always * 07.13.2021 update * typo * new files from bitbucket * update 07.13.2021 * time dependent contact fixed * time dep contact fixed * remove cout * time dep. contact tests finished * renaming * fix naming * move test class into seperate header * cmake changes * changing function names to lower case * change cmake list * small fix Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * TranslateSolidBodyPart added * particle relaxation fixed * change Get_ to get_ * checkIfPointInBoundingBox moved Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * update from bitbucket 07-30-2021 * replace the wrong gpuSPHinXsys * Simbody artifacts instead of installation * simbody variable added to cmake command * change path * conflict resolved * remove doubled test Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * Pressure bc (#20) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * stress relaxation changed to Kirchhof * time dependent surface pressure works * cube case moved to source tests * cube test removed * add overtime to position based tests * go back to last working state * back to working version Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> * simulation class remvoed (#21) * fix numerical damping (#23) * Simbody lib seperate (#26) * remove submodules * simbody added on no lapack * simbody * cases user moved * scripts removed * simbody set to master * variables removed * 3d lib cmake * boost option * simbody linking to built libraries * renaming + 2D cmake * option subdir * werror * eigen in simbody * eigen added * eigen * eigen include * eigen * add wasmtbb * working wasm example * cmake changes * restore working wasm build * change memory pool for wasm * work on eigen Co-authored-by: wen-yang chu <[email protected]> * update simbody * Replace clapack (#27) * work on eigen * all tests pass with Eigen * macro renamed simbody * all SPH tests pass for static build * remove wasm files * first setup of spring on surface normal direction (#22) * first setup of spring on surface normal direction * adjusted combi of spring and pressure BC * correction of damping coefficient * simulation runs but too small time steps, only one vtu-file * consideration normal portion in opposite direction * creation of tests for vector calculations * simplification of vector norm calculation * small vector test working, but failing * small vector tests passing * angle tests added * correction of Vector Projection more test examples * correction of normal spring beam still spinning * adding of functions for vector calculations * change of spring force in right direction * debugging, still spinning after timestep 18 * change of vector calculation example * correction of normal spring force * for-loop removed, checking of spring & damping * area moved and considered in damping * adding gtest to CMakeLists * simplified dot_product_2 calculation * change from Vecd to Vec3d for calculations * changed Vector declaration and functions * correction of Spring and Damping Co-authored-by: JohnVirtonomy.io <[email protected]> * emscripten option to disable gtest (#28) * emscripten option to disable gtest * comment out compiling flags * bug fix Co-authored-by: wen-yang chu <[email protected]> * Fix zero pos particles (#31) * change pressure BC to be define by body part * SpringNormalOnSurfaceParticles with body part * option to use inner or outer surface for spring * zero position of particles fixed * fix BodyPartByParticle (#34) * Dynamic heart (#29) * change pressure BC to be define by body part * SpringNormalOnSurfaceParticles with body part * option to use inner or outer surface for spring * zero position of particles fixed * adding function to avoid LevelSetComplexShape * "virtual" added to comply with github CI test * both options for normalDirectionCalculation * "virtual" removed since no change in CI test * additional findNormalDirection dor 2D_build * comment to see if geometry_level_set is called * accelaration output added to vtu * adding displacement output & removing density * Vec3d to Vecd * adding normal vectors to vtu-File * von Mises Strain implemented * CMake name change to differentiate BUILD_TEST * test for strain calculation * correction of von Mises strain calculation * displ., normal, strain output calc. added in 2D Co-authored-by: JohnVirtonomy <[email protected]> * Fix wasm merge2 (#37) * add EMSCRIPTEN macro to disable macro * remove image stuff with emscripten * simbody static lib with emscripten Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: JohnVirtonomy <[email protected]> * Production 1 freatures (#32) * cherry pick fixing zero position * option to write levelset data * fix BodyPartByParticle * small_shift changed * small shift changed back * fix normal calculation bug Co-authored-by: JohnVirtonomy <[email protected]> * vtu ouput update (#39) * SurfaceOnlyBodyStatesRecordingToVtu class * class, functions for only surface particles output * comment out cout of number of surface particles * ShapeSurface in constructor only called at start * correction of surface ouput; still some issues * final correction of surface particle output Co-authored-by: JohnVirtonomy <[email protected]> * add writer for vtu file to string * revert commit * add writer for vtu file to string (#40) * add small shift option to level set (#38) * add small shift option to level set * throw exceptions if instability occurs * fix comment * Kirchhof relaxation stability improved, removed B_ * fix 2D error * 2d self contact changed Co-authored-by: JohnVirtonomy <[email protected]> * Triangle mesh from buffer constructor (#44) * triangle mesh buffer constructor * Triangle mesh from buffer only for emcc * structural simulation to gitHub (#41) * structural simulation to gitHub * change class * fix wasm compilation Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: BenceVirtonomy <[email protected]> * Surface spring (#45) * surface spring constraint added with test * add surface fixation * surface spring * better exception * findTBB edit * change error message Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: JohnVirtonomy.io <[email protected]> Co-authored-by: Antonov548 <[email protected]> Co-authored-by: mrezavandVirtonomy <[email protected]>
Xiangyu-Hu
added a commit
that referenced
this pull request
Mar 8, 2022
* delete static library for windows * -werror not valid for windows * function incompatibility between windows and linux * windows compile pass * Pull webassembly and recent changes (#67) * Verification cases thesis (#15) * ConstrainSolidBody renamed * constrain solid body reagion added * force boundary condition * force BC edited * Pressure bc (#16) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * time dependent surface pressure works * cube case moved to source tests * Add test folder (#18) * Translate body part (#45) * Feature/contact stent 2 (#10) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * disable tests for simbody * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change * Feature/position bc stent (#34) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change Co-authored-by: JohnVirtonomy <[email protected]> * -Werror only works for linux * TEST TranslateSolidBodyTuple * Update CMakeLists.txt remove werror flag for msvc * update from bitbucket 01.07.2021 * delete repeated files * brief information on google test in repo readme * delete clapack and simbody folder in root * google test works for windows but the unit test case did not copy stl file right in windows * now test_3d_unit works in windows. * information on installing google test in windows * add a comment on install ing for VS in windows * translation with same scale&unit test update * skip testing when [ci skip] in the commit message * update test_3d_unit - TranslateSolidBody not work * time-dependent-contact * number of time dep. contacts fixed * setup unit test for time dependent contact * Translate Solid Body fixed but tolerance is only 0.01 * output changed to 100 files always * 07.13.2021 update * typo * new files from bitbucket * update 07.13.2021 * time dependent contact fixed * time dep contact fixed * remove cout * time dep. contact tests finished * renaming * fix naming * move test class into seperate header * cmake changes * changing function names to lower case * change cmake list * small fix Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * TranslateSolidBodyPart added * particle relaxation fixed * change Get_ to get_ * checkIfPointInBoundingBox moved Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * update from bitbucket 07-30-2021 * replace the wrong gpuSPHinXsys * Simbody artifacts instead of installation * simbody variable added to cmake command * change path * conflict resolved * remove doubled test Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * Pressure bc (#20) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * stress relaxation changed to Kirchhof * time dependent surface pressure works * cube case moved to source tests * cube test removed * add overtime to position based tests * go back to last working state * back to working version Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> * simulation class remvoed (#21) * fix numerical damping (#23) * Simbody lib seperate (#26) * remove submodules * simbody added on no lapack * simbody * cases user moved * scripts removed * simbody set to master * variables removed * 3d lib cmake * boost option * simbody linking to built libraries * renaming + 2D cmake * option subdir * werror * eigen in simbody * eigen added * eigen * eigen include * eigen * add wasmtbb * working wasm example * cmake changes * restore working wasm build * change memory pool for wasm * work on eigen Co-authored-by: wen-yang chu <[email protected]> * update simbody * Replace clapack (#27) * work on eigen * all tests pass with Eigen * macro renamed simbody * all SPH tests pass for static build * remove wasm files * first setup of spring on surface normal direction (#22) * first setup of spring on surface normal direction * adjusted combi of spring and pressure BC * correction of damping coefficient * simulation runs but too small time steps, only one vtu-file * consideration normal portion in opposite direction * creation of tests for vector calculations * simplification of vector norm calculation * small vector test working, but failing * small vector tests passing * angle tests added * correction of Vector Projection more test examples * correction of normal spring beam still spinning * adding of functions for vector calculations * change of spring force in right direction * debugging, still spinning after timestep 18 * change of vector calculation example * correction of normal spring force * for-loop removed, checking of spring & damping * area moved and considered in damping * adding gtest to CMakeLists * simplified dot_product_2 calculation * change from Vecd to Vec3d for calculations * changed Vector declaration and functions * correction of Spring and Damping Co-authored-by: JohnVirtonomy.io <[email protected]> * emscripten option to disable gtest (#28) * emscripten option to disable gtest * comment out compiling flags * bug fix Co-authored-by: wen-yang chu <[email protected]> * Fix zero pos particles (#31) * change pressure BC to be define by body part * SpringNormalOnSurfaceParticles with body part * option to use inner or outer surface for spring * zero position of particles fixed * fix BodyPartByParticle (#34) * Dynamic heart (#29) * change pressure BC to be define by body part * SpringNormalOnSurfaceParticles with body part * option to use inner or outer surface for spring * zero position of particles fixed * adding function to avoid LevelSetComplexShape * "virtual" added to comply with github CI test * both options for normalDirectionCalculation * "virtual" removed since no change in CI test * additional findNormalDirection dor 2D_build * comment to see if geometry_level_set is called * accelaration output added to vtu * adding displacement output & removing density * Vec3d to Vecd * adding normal vectors to vtu-File * von Mises Strain implemented * CMake name change to differentiate BUILD_TEST * test for strain calculation * correction of von Mises strain calculation * displ., normal, strain output calc. added in 2D Co-authored-by: JohnVirtonomy <[email protected]> * Fix wasm merge2 (#37) * add EMSCRIPTEN macro to disable macro * remove image stuff with emscripten * simbody static lib with emscripten Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: JohnVirtonomy <[email protected]> * Production 1 freatures (#32) * cherry pick fixing zero position * option to write levelset data * fix BodyPartByParticle * small_shift changed * small shift changed back * fix normal calculation bug Co-authored-by: JohnVirtonomy <[email protected]> * vtu ouput update (#39) * SurfaceOnlyBodyStatesRecordingToVtu class * class, functions for only surface particles output * comment out cout of number of surface particles * ShapeSurface in constructor only called at start * correction of surface ouput; still some issues * final correction of surface particle output Co-authored-by: JohnVirtonomy <[email protected]> * add writer for vtu file to string * revert commit * add writer for vtu file to string (#40) * add small shift option to level set (#38) * add small shift option to level set * throw exceptions if instability occurs * fix comment * Kirchhof relaxation stability improved, removed B_ * fix 2D error * 2d self contact changed Co-authored-by: JohnVirtonomy <[email protected]> * Triangle mesh from buffer constructor (#44) * triangle mesh buffer constructor * Triangle mesh from buffer only for emcc * structural simulation to gitHub (#41) * structural simulation to gitHub * change class * fix wasm compilation Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: BenceVirtonomy <[email protected]> * Surface spring (#45) * surface spring constraint added with test * add surface fixation * surface spring * better exception * findTBB edit * change error message Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: JohnVirtonomy.io <[email protected]> Co-authored-by: Antonov548 <[email protected]> Co-authored-by: mrezavandVirtonomy <[email protected]> * update from bibucket on 12.18.2021 * modify the pass critria, and regression test for freestream flow around cylinder case * small bug in2d taylor green case * [ci skip] let ctest rerun failed cases * release pressure test in 3d dambreak * revise action with two step ctest * revise action * new line at end * new line at end * no regression test for 3d dambreak * run the second try only when the first fails * update condtional expression * maximum five tries * fix most of the issues, io system missing * it can compile * fix reload * pointer fixes * start fixing struct sim * renaming * renaming * fixes * add simualiton helper * struct sim runs in submodule * struct sim compiles * fix merge * master up to date * fixing outputs * fixing VTU writing * fixing wasm * add tri mesh constr * renaming cmake * change cmake * wasm ready * comment out two tests * comment out * comment out test_2d_free_stream_around_cylinder Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: JohnVirtonomy.io <[email protected]> Co-authored-by: Antonov548 <[email protected]> Co-authored-by: mrezavandVirtonomy <[email protected]>
Xiangyu-Hu
added a commit
that referenced
this pull request
Mar 8, 2022
* delete static library for windows * -werror not valid for windows * function incompatibility between windows and linux * windows compile pass * Pull webassembly and recent changes (#67) * Verification cases thesis (#15) * ConstrainSolidBody renamed * constrain solid body reagion added * force boundary condition * force BC edited * Pressure bc (#16) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * time dependent surface pressure works * cube case moved to source tests * Add test folder (#18) * Translate body part (#45) * Feature/contact stent 2 (#10) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * disable tests for simbody * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change * Feature/position bc stent (#34) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change Co-authored-by: JohnVirtonomy <[email protected]> * -Werror only works for linux * TEST TranslateSolidBodyTuple * Update CMakeLists.txt remove werror flag for msvc * update from bitbucket 01.07.2021 * delete repeated files * brief information on google test in repo readme * delete clapack and simbody folder in root * google test works for windows but the unit test case did not copy stl file right in windows * now test_3d_unit works in windows. * information on installing google test in windows * add a comment on install ing for VS in windows * translation with same scale&unit test update * skip testing when [ci skip] in the commit message * update test_3d_unit - TranslateSolidBody not work * time-dependent-contact * number of time dep. contacts fixed * setup unit test for time dependent contact * Translate Solid Body fixed but tolerance is only 0.01 * output changed to 100 files always * 07.13.2021 update * typo * new files from bitbucket * update 07.13.2021 * time dependent contact fixed * time dep contact fixed * remove cout * time dep. contact tests finished * renaming * fix naming * move test class into seperate header * cmake changes * changing function names to lower case * change cmake list * small fix Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * TranslateSolidBodyPart added * particle relaxation fixed * change Get_ to get_ * checkIfPointInBoundingBox moved Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * update from bitbucket 07-30-2021 * replace the wrong gpuSPHinXsys * Simbody artifacts instead of installation * simbody variable added to cmake command * change path * conflict resolved * remove doubled test Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * Pressure bc (#20) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * stress relaxation changed to Kirchhof * time dependent surface pressure works * cube case moved to source tests * cube test removed * add overtime to position based tests * go back to last working state * back to working version Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> * simulation class remvoed (#21) * fix numerical damping (#23) * Simbody lib seperate (#26) * remove submodules * simbody added on no lapack * simbody * cases user moved * scripts removed * simbody set to master * variables removed * 3d lib cmake * boost option * simbody linking to built libraries * renaming + 2D cmake * option subdir * werror * eigen in simbody * eigen added * eigen * eigen include * eigen * add wasmtbb * working wasm example * cmake changes * restore working wasm build * change memory pool for wasm * work on eigen Co-authored-by: wen-yang chu <[email protected]> * update simbody * Replace clapack (#27) * work on eigen * all tests pass with Eigen * macro renamed simbody * all SPH tests pass for static build * remove wasm files * first setup of spring on surface normal direction (#22) * first setup of spring on surface normal direction * adjusted combi of spring and pressure BC * correction of damping coefficient * simulation runs but too small time steps, only one vtu-file * consideration normal portion in opposite direction * creation of tests for vector calculations * simplification of vector norm calculation * small vector test working, but failing * small vector tests passing * angle tests added * correction of Vector Projection more test examples * correction of normal spring beam still spinning * adding of functions for vector calculations * change of spring force in right direction * debugging, still spinning after timestep 18 * change of vector calculation example * correction of normal spring force * for-loop removed, checking of spring & damping * area moved and considered in damping * adding gtest to CMakeLists * simplified dot_product_2 calculation * change from Vecd to Vec3d for calculations * changed Vector declaration and functions * correction of Spring and Damping Co-authored-by: JohnVirtonomy.io <[email protected]> * emscripten option to disable gtest (#28) * emscripten option to disable gtest * comment out compiling flags * bug fix Co-authored-by: wen-yang chu <[email protected]> * Fix zero pos particles (#31) * change pressure BC to be define by body part * SpringNormalOnSurfaceParticles with body part * option to use inner or outer surface for spring * zero position of particles fixed * fix BodyPartByParticle (#34) * Dynamic heart (#29) * change pressure BC to be define by body part * SpringNormalOnSurfaceParticles with body part * option to use inner or outer surface for spring * zero position of particles fixed * adding function to avoid LevelSetComplexShape * "virtual" added to comply with github CI test * both options for normalDirectionCalculation * "virtual" removed since no change in CI test * additional findNormalDirection dor 2D_build * comment to see if geometry_level_set is called * accelaration output added to vtu * adding displacement output & removing density * Vec3d to Vecd * adding normal vectors to vtu-File * von Mises Strain implemented * CMake name change to differentiate BUILD_TEST * test for strain calculation * correction of von Mises strain calculation * displ., normal, strain output calc. added in 2D Co-authored-by: JohnVirtonomy <[email protected]> * Fix wasm merge2 (#37) * add EMSCRIPTEN macro to disable macro * remove image stuff with emscripten * simbody static lib with emscripten Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: JohnVirtonomy <[email protected]> * Production 1 freatures (#32) * cherry pick fixing zero position * option to write levelset data * fix BodyPartByParticle * small_shift changed * small shift changed back * fix normal calculation bug Co-authored-by: JohnVirtonomy <[email protected]> * vtu ouput update (#39) * SurfaceOnlyBodyStatesRecordingToVtu class * class, functions for only surface particles output * comment out cout of number of surface particles * ShapeSurface in constructor only called at start * correction of surface ouput; still some issues * final correction of surface particle output Co-authored-by: JohnVirtonomy <[email protected]> * add writer for vtu file to string * revert commit * add writer for vtu file to string (#40) * add small shift option to level set (#38) * add small shift option to level set * throw exceptions if instability occurs * fix comment * Kirchhof relaxation stability improved, removed B_ * fix 2D error * 2d self contact changed Co-authored-by: JohnVirtonomy <[email protected]> * Triangle mesh from buffer constructor (#44) * triangle mesh buffer constructor * Triangle mesh from buffer only for emcc * structural simulation to gitHub (#41) * structural simulation to gitHub * change class * fix wasm compilation Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: BenceVirtonomy <[email protected]> * Surface spring (#45) * surface spring constraint added with test * add surface fixation * surface spring * better exception * findTBB edit * change error message Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: JohnVirtonomy.io <[email protected]> Co-authored-by: Antonov548 <[email protected]> Co-authored-by: mrezavandVirtonomy <[email protected]> * update from bibucket on 12.18.2021 * modify the pass critria, and regression test for freestream flow around cylinder case * small bug in2d taylor green case * [ci skip] let ctest rerun failed cases * release pressure test in 3d dambreak * revise action with two step ctest * revise action * new line at end * new line at end * no regression test for 3d dambreak * run the second try only when the first fails * update condtional expression * maximum five tries * update from bitbucket 02/05/2022 * modify fsi2 case to neglect regression test * Merge 333e98d * modify fsi2 case to neglect regression test * Merge pull request #83 from Xiangyu-Hu/bitbucket-main Bitbucket main # Conflicts: # SPHINXsys/src/shared/particles/base_particles.cpp # SPHINXsys/src/shared/particles/solid_particles.cpp # tests/3d_examples/test_3d_load_image/load_image.cpp # tests/3d_examples/test_3d_particle_relaxation/particle_relaxation.cpp * Fix duplicated symbols in solid_particles_supplementary * Restore a default von Mises strain function (calling `static` version) * Fix duplicate header guard * Implement missing (new) virtual function in NeoHookean Incompressible model * Fix bernoulli_beam_struct_sim test * Remove test_3d_dambreak from CI tests Passes on locally but fails on github CI, see below: ``` TotalMechanicalEnergy[0] in Snapshot_1541 is beyond the exception, and difference is 0.210592623 TotalMechanicalEnergy[0] in Snapshot_1650 is beyond the exception, and difference is 0.081051444 There are 2 snapshots are not within the expected range. Please try again. If it still post this conclusion, the result is not correct! ``` Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Bence Rochlitz <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: JohnVirtonomy.io <[email protected]> Co-authored-by: Antonov548 <[email protected]> Co-authored-by: mrezavandVirtonomy <[email protected]>
Xiangyu-Hu
added a commit
that referenced
this pull request
Mar 22, 2022
* delete static library for windows * -werror not valid for windows * function incompatibility between windows and linux * windows compile pass * Pull webassembly and recent changes (#67) * Verification cases thesis (#15) * ConstrainSolidBody renamed * constrain solid body reagion added * force boundary condition * force BC edited * Pressure bc (#16) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * time dependent surface pressure works * cube case moved to source tests * Add test folder (#18) * Translate body part (#45) * Feature/contact stent 2 (#10) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * disable tests for simbody * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change * Feature/position bc stent (#34) * PositionSolidBody added * boundary condition works but breaks numerically * no message * first unit test added * indentation change * PositionSolidBody test * remove file * small fixes * position constraint changed works between start and end time * scaling boundary condition * PositionScaleSolidBody unit test * particel adaptation changed * system resolution ratio added to particle adaptation * add googletest to docker and workflow * unit test removed temporarily * unit rest removed * SolidParticleRelaxation added to update initial particle position * gtest added again * gtest install changed * gtest * gtest * gtest * gtest * cd path updated * change to shared pointers * unit test pointers changed * gtest added to docker * initialization changed * errors fixed * TranslationSolidBody added; translation cylinder * whitespace * fixes * TranslateSolidBody corrected * writeToFile update * change SET to set * catch(out_of_range& e) added * change to size_t * cmake minimum removed * BoundingBox test changed * fix writeToFIle * test change Co-authored-by: JohnVirtonomy <[email protected]> * -Werror only works for linux * TEST TranslateSolidBodyTuple * Update CMakeLists.txt remove werror flag for msvc * update from bitbucket 01.07.2021 * delete repeated files * brief information on google test in repo readme * delete clapack and simbody folder in root * google test works for windows but the unit test case did not copy stl file right in windows * now test_3d_unit works in windows. * information on installing google test in windows * add a comment on install ing for VS in windows * translation with same scale&unit test update * skip testing when [ci skip] in the commit message * update test_3d_unit - TranslateSolidBody not work * time-dependent-contact * number of time dep. contacts fixed * setup unit test for time dependent contact * Translate Solid Body fixed but tolerance is only 0.01 * output changed to 100 files always * 07.13.2021 update * typo * new files from bitbucket * update 07.13.2021 * time dependent contact fixed * time dep contact fixed * remove cout * time dep. contact tests finished * renaming * fix naming * move test class into seperate header * cmake changes * changing function names to lower case * change cmake list * small fix Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * TranslateSolidBodyPart added * particle relaxation fixed * change Get_ to get_ * checkIfPointInBoundingBox moved Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * update from bitbucket 07-30-2021 * replace the wrong gpuSPHinXsys * Simbody artifacts instead of installation * simbody variable added to cmake command * change path * conflict resolved * remove doubled test Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> * Pressure bc (#20) * SurfacePressureFromSource added * SurfacePressureFromSource::Update * BC prob works but the particle normals are missing * stress relaxation changed to Kirchhof * time dependent surface pressure works * cube case moved to source tests * cube test removed * add overtime to position based tests * go back to last working state * back to working version Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> * simulation class remvoed (#21) * fix numerical damping (#23) * Simbody lib seperate (#26) * remove submodules * simbody added on no lapack * simbody * cases user moved * scripts removed * simbody set to master * variables removed * 3d lib cmake * boost option * simbody linking to built libraries * renaming + 2D cmake * option subdir * werror * eigen in simbody * eigen added * eigen * eigen include * eigen * add wasmtbb * working wasm example * cmake changes * restore working wasm build * change memory pool for wasm * work on eigen Co-authored-by: wen-yang chu <[email protected]> * update simbody * Replace clapack (#27) * work on eigen * all tests pass with Eigen * macro renamed simbody * all SPH tests pass for static build * remove wasm files * first setup of spring on surface normal direction (#22) * first setup of spring on surface normal direction * adjusted combi of spring and pressure BC * correction of damping coefficient * simulation runs but too small time steps, only one vtu-file * consideration normal portion in opposite direction * creation of tests for vector calculations * simplification of vector norm calculation * small vector test working, but failing * small vector tests passing * angle tests added * correction of Vector Projection more test examples * correction of normal spring beam still spinning * adding of functions for vector calculations * change of spring force in right direction * debugging, still spinning after timestep 18 * change of vector calculation example * correction of normal spring force * for-loop removed, checking of spring & damping * area moved and considered in damping * adding gtest to CMakeLists * simplified dot_product_2 calculation * change from Vecd to Vec3d for calculations * changed Vector declaration and functions * correction of Spring and Damping Co-authored-by: JohnVirtonomy.io <[email protected]> * emscripten option to disable gtest (#28) * emscripten option to disable gtest * comment out compiling flags * bug fix Co-authored-by: wen-yang chu <[email protected]> * Fix zero pos particles (#31) * change pressure BC to be define by body part * SpringNormalOnSurfaceParticles with body part * option to use inner or outer surface for spring * zero position of particles fixed * fix BodyPartByParticle (#34) * Dynamic heart (#29) * change pressure BC to be define by body part * SpringNormalOnSurfaceParticles with body part * option to use inner or outer surface for spring * zero position of particles fixed * adding function to avoid LevelSetComplexShape * "virtual" added to comply with github CI test * both options for normalDirectionCalculation * "virtual" removed since no change in CI test * additional findNormalDirection dor 2D_build * comment to see if geometry_level_set is called * accelaration output added to vtu * adding displacement output & removing density * Vec3d to Vecd * adding normal vectors to vtu-File * von Mises Strain implemented * CMake name change to differentiate BUILD_TEST * test for strain calculation * correction of von Mises strain calculation * displ., normal, strain output calc. added in 2D Co-authored-by: JohnVirtonomy <[email protected]> * Fix wasm merge2 (#37) * add EMSCRIPTEN macro to disable macro * remove image stuff with emscripten * simbody static lib with emscripten Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: JohnVirtonomy <[email protected]> * Production 1 freatures (#32) * cherry pick fixing zero position * option to write levelset data * fix BodyPartByParticle * small_shift changed * small shift changed back * fix normal calculation bug Co-authored-by: JohnVirtonomy <[email protected]> * vtu ouput update (#39) * SurfaceOnlyBodyStatesRecordingToVtu class * class, functions for only surface particles output * comment out cout of number of surface particles * ShapeSurface in constructor only called at start * correction of surface ouput; still some issues * final correction of surface particle output Co-authored-by: JohnVirtonomy <[email protected]> * add writer for vtu file to string * revert commit * add writer for vtu file to string (#40) * add small shift option to level set (#38) * add small shift option to level set * throw exceptions if instability occurs * fix comment * Kirchhof relaxation stability improved, removed B_ * fix 2D error * 2d self contact changed Co-authored-by: JohnVirtonomy <[email protected]> * Triangle mesh from buffer constructor (#44) * triangle mesh buffer constructor * Triangle mesh from buffer only for emcc * structural simulation to gitHub (#41) * structural simulation to gitHub * change class * fix wasm compilation Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: BenceVirtonomy <[email protected]> * Surface spring (#45) * surface spring constraint added with test * add surface fixation * surface spring * better exception * findTBB edit * change error message Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: JohnVirtonomy.io <[email protected]> Co-authored-by: Antonov548 <[email protected]> Co-authored-by: mrezavandVirtonomy <[email protected]> * update from bibucket on 12.18.2021 * modify the pass critria, and regression test for freestream flow around cylinder case * small bug in2d taylor green case * [ci skip] let ctest rerun failed cases * release pressure test in 3d dambreak * revise action with two step ctest * revise action * new line at end * new line at end * no regression test for 3d dambreak * run the second try only when the first fails * update condtional expression * maximum five tries * update from bitbucket 02/05/2022 * modify fsi2 case to neglect regression test * swap unsorted_id between index_i and last_real_particle_index * [ci skip] * Fix symbol redefinition in 3d solid_particles_supplementary * Fix 3d dambreak example * Fix symbol redefinition in 2d solid_particles_supplementary * Remove some 2d examples breaking CI from tests To fix in a later stage, first we must get back in sync with upstream ``` 8 - test_2d_dambreak_restart (Failed) 29 - test_2d_self_contact (Failed) 32 - test_2d_sliding (Failed) ``` * Remove test_3d_taylor_bar passing or failing across CI runs for no reason Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Xiangyu Hu <[email protected]> Co-authored-by: Bence Rochlitz <[email protected]> Co-authored-by: Ubuntu <virtonomy@SPHsimulation2.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: Wen-Yang Chu <[email protected]> Co-authored-by: Xiangyu Hu <xiangyu.hu@tum> Co-authored-by: Ubuntu <virtonomy@SPHbence.qg4qjrxycqxetcothedhm1ylih.ax.internal.cloudapp.net> Co-authored-by: JohnVirtonomy <[email protected]> Co-authored-by: JohnVirtonomy.io <[email protected]> Co-authored-by: Antonov548 <[email protected]> Co-authored-by: mrezavandVirtonomy <[email protected]> Co-authored-by: alundilong <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.