Coder Social home page Coder Social logo

rickyspaceguy / grid2grid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lheea/grid2grid

0.0 1.0 0.0 7.87 MB

HOS Wrapper for C++/fortran CFD solvers

License: GNU General Public License v3.0

CMake 0.06% Shell 0.22% Makefile 1.03% Fortran 97.61% C 1.08%

grid2grid's Introduction

Grid2Grid

ECN HOS wrapper program. It generates following flow information from result file of HOS.

 - Wave Elevation
 - Flow Velocity
 - Dynamic Pressure

It needs FFTW third party library. You can download FFTW library from

http://www.fftw.org/download.html

How to compile FFTW library

 1. Download FFTW library and Extract 
 
 2. ./configure --prefix=/DOWNLOAD_PATH
 
 3. make CFLAGS="-fPIC"
 
 4. make install
 
 5. ln -s /DOWNLOAD_PATH/lib/fftw3.a /usr/local/lib/fftw3.a
    ln -s /DOWNLOAD_PATH/lib/fftw3.la /usr/local/lib/fftw3.la

Install Grid2Grid

 1. Path to Grid2Grid and run following command which you want.
 
  make
: compile main.f90, it generates post processing program of Grid2Grid.
  And main.f90 contains some subroutine how to connect Grid2Grid to Fortran Program.
 
  make createlib
    : make shared library(libGrid2Grid.so) in /obj directory.
 
  make createOFlib
    : Within OpenFOAM Environments, it makes shared library(libGrid2Grid.so) 
      in $FOAM_USER_LIBBIN

grid2grid's People

Contributors

mgouin avatar naaba avatar

Watchers

 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.