Git Product home page Git Product logo

ihfoam's Introduction

IHFOAM

Description

IHFOAM is a set of solvers and boundary conditions to generate and absorb water waves actively at the boundaries and to simulate their interaction with porous coastal structures.

You can find all the information regarding the model at its web site and wiki:

http://ihfoam.ihcantabria.com/

http://openfoamwiki.net/index.php/Contrib/IHFOAM

Download and compilation

Basic download guide

To get a full copy of IHFOAM source and reference materials run in a terminal:

git clone git://github.com/phicau/IHFOAM.git

Code updates can be downloaded in the future from the IHFOAM folder as follows:

git checkout

git pull

Basic compilation guide

First compile the boundary conditions:

cd genAbs

./allMake

Second compile the solvers (ihFoam and ihDyMFoam), selecting the correct version:

cd solvers/ihFoamXXXXX

./allMake

Reference materials and tutorials

Reference materials and test cases are included in the IHFOAM download. Check the reference.zip file and the tutorials folder. For a full description on these materials see:

http://openfoamwiki.net/index.php/Contrib/IHFOAM#IHFOAM_Documentation_and_Tutorials

ihfoam's People

Contributors

phicau avatar

Stargazers

Hwang Hyung-Sik avatar Ben Norris avatar Jaszium Styrx Paralex avatar Syam S. avatar  avatar Shi-Feng Lu avatar  avatar  avatar  avatar Hans Robeers avatar Pete Bachant avatar

Watchers

Daniel Combest avatar  avatar GP Wang avatar Pete Bachant avatar  avatar

ihfoam's Issues

Instalación Ubuntu 14.04 & OpenFOAM-2.3.0

Hola Pablo:

Siguiendo las instrucciones de instalación de IHFOAM en la wiki de OpenFOAM, he descargado el contenido de este repositorio a través de git. He abierto una terminal y he ejecutado el alias of230 que configuré en la instalación (tal como se indica aquí), para que reconozca las variables. Al tratar de ejecutar el script allMake situado en la carpeta genAbs (paso 2.3 Compilation obtengo el siguiente error):

leire@satellite:~/IHFOAM/genAbs$ ./allMake
wmake: 'Make' directory does not exist in /home/leire/IHFOAM/genAbs/waveGeneration
    Searching up directories tree for Make directory
wmake error: could not find Make directory
wmake error: file 'Make/files' does not exist in /home/leire
\n\nWave generation boundary conditions compilation failed

Si ejecuto directamente localMake en la carpeta waveGeneration, obtengo el mismo error.

He abierto el fichero allMake para aislar el error, y he comprobado que hasta la línea 10 se ejecuta correctamente. Al ejecutrar wclean también da el siguiente error (aunque se dirige a /dev/null y no se muestra): wclean error: 'Make' directory does not exist.

¿Se trata de un problema de instalación/configuración de mi versión de OpenFOAM (ya que la versión está soportada)? ¿O debo añadir modificar los scripts descargados de git?

Un saludo

FOAM FATAL IO ERROR: Unknown patchField type IH_Waves_InletVelocity for patch type path

Hi,

I'm just getting started with OpenFOAM and want to create a free surface. I found IHFOAM for this (thanks, by the way!!!) and thought I compiled it successfully (all wave boundary conditions and solvers compiled successfully) but I am trying to run the irreg45degtank tutorial and am getting the error:

My guess is that something isn't linked properly but I'm not sure how to fix this... any ideas? Or let me know whatever other information you need me to give you..

Thanks again in advance and thanks for making this available!

Ariel

Tutorials?

The wiki page states there are tutorials available. Can you add them to this repo?

Compilation issue

Hi,
I tried to compile the allMake files but I get command error messages :
./localMake: line 6: wclean: command not found
./localMake: line 8: wmake: command not found
Thanks for your help
RC

Another compilation issue

Hi to all,
I installed OpenFOAM 2.4.0 with apt-get in Xubuntu 14.04 (trusty). With OpenFOAM it's all ok and I'm able to run some basic simulations. But the issue is with IHFOAM compilation.

When I run 'sudo sh ./allMake' I get this:

allMake: line 3: [: ==: unary operator expected
allMake: line 11: wclean: command not found
allMake: line 13: wmake: command not found
\n\nWave generation boundary conditions compilation failed

How can I solve? I saw also another compilation issue reported before that now it's closed but I sincerly don't understand how he solved that.

Tnx in advance.

Antelox

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.