Giter Club home page Giter Club logo

wave2solids's Introduction

wave2solids

Description

wave2solids is a numerical wave-structure-interaction (WSI) model combining the wave generation toolbox olaFlow and the fluid-strucutre-interaction (FSI) toolbox solids4Foam in the framework of OpenFOAM.

This free and open-source project is committed to enabling the fully-coupled simulation of wave interactions with flexible structures to the foam-extend communities.

Download and compilation

Basic download guide

To get set up, you must first install foam-extend-4.0.

To get a copy of olaFlow source and reference materials, run in a terminal:

git clone https://github.com/phicau/olaFlow.git

To get a copy of solids4Foam source and reference materials, run in a terminal:

git clone https://bitbucket.org/philip_cardiff/solids4foam-release.git

Go to the solids4Foam base folder and change to fluidModels directory:

cd solids4foam-release/src/solids4FoamModels/fluidModels/

To get a copy of the combined fluid model wave2solids, run in a terminal:

git clone https://github.com/huzhengyu/wave2solids.git

Make some modifications in the compilation files, run in a terminal:

sed -i '35i fluidModels/wave2solids/wave2solids.C' ../Make/files.foamextend

sed -i '$s/$/& \\\n\t-lwaveGeneration \\\n\t-lwaveAbsorption/' ../Make/options ../../../applications/solvers/solids4Foam/Make/options

Basic compilation guide

The compilation is straightforward, simply run the following script from the olaFlow base folder:

./allMake

Also, simply run the following script from the solids4Foam base folder:

./Allwmake

Tutorials

A tutorial case of a flexible wall in nonlinear periodic waves is provided.

Go to the Tutorials/Wall folder, and run in a terminal:

./Allrun

Feel free to modify the phrase and adapt it to your own needs.

References

Hu, Z., Huang, L. and Li, Y., 2023. Fully-coupled hydroelastic modeling of a deformable wall in waves. Coastal Engineering, 179: 104245.

Higuera, P., Lara, J.L. and Losada, I.J., 2013. Realistic wave generation and active wave absorption for navier–stokes models: Application to openfoam®. Coastal Engineering, 71: 102-118.

Cardiff, P. et al., 2018. An open-source finite volume toolbox for solid mechanics and fluid-solid interaction simulations. arXiv preprint arXiv:1808.10736.

Tuković, Ž., Karač, A., Cardiff, P., Jasak, H. and Ivanković, A., 2018. Openfoam finite volume solver for fluid-solid interaction. Transactions of FAMENA, 42(3): 1-31.

wave2solids's People

Contributors

huzhengyu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.