Skip to content

stefano-brambilla-853558/MANworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Mixed Finite Element Methods for Coupled 3D/1D Fluid Problems

Politecnico di Milano (ITALY)

Author : Stefano Brambilla

Mailto : s.brambilla93@gmail.com

Date : March 2018

Previous projects

Authors : Luca Possenti, Simone Di Gregorio, Giorgio Raimondi, Fannie Gerosa

Mailto : luca.possenti@polimi.it

Date : January 2018

Github Page : https://github.com/lpossenti/MANworks_ht_curvature


Author : Domenico Notaro

Mailto : domenico.not@gmail.com

Date : March 2016

Github Page : https://github.com/domeniconotaro/PACS


How to install and run the program


THE PACKAGE

  • 'fluid_ht_curvature' : The folder containing the code which solves velocity and pressure problem (Notaro, Possenti, Di Gregorio code)
  • 'transport': The folder containing the code which solves transport problem (Brambilla code)

The details of the two libraries are in their respective README.md

##INSTALLATION:

Prerequisites

You need the open source finite element library "GetFEM++" See http://download.gna.org/getfem/html/homepage Version >= 5.1 is necessary

SAMG LICENCE is not required but recommended for more efficient simulations.

Gnuplot: Gnuplot is NOT required, but it can be used to visualize residuals. To use it, uncomment lines within the code and see the GNUPLOT_Istruzioni_installazione to install. https://sourceforge.net/projects/gnuplot/files/gnuplot/

BEWARE: Recall to add the GetFEM library path to LD_LIBRARY_PATH. Example:

$ export LD_LIBRARY_PATH=/home/...path/to.../getfem/lib

Finally, modify the files fluid_ht_curvature/config.mk and transport/config.mk as described in, respectively, fluid_ht_curvature/README.md and transport/README.md.

======================

###Installation Build the whole project with:

$ make

It first build the shared library "libproblem3d1d.so" and his examples by calling the Makefile in fluid_ht_curvature/:

$ make -C fluid_ht_curvature/

Then, it build the shared library "libtransport3d1d.so" and his examples by calling the Makefile in transport/:

$ make -C transport/

It is also possible to build a single example, by building the two libraries with:

$ make library

and then calling in the folder example:

$ make

Alternatively, you can build the two libraries separately, calling, in the rispective folders,

$ make

Remember to modify the config.mk files in the folders, following the instructions of the README.md files.

This can be helpful if a new release of "libproblem3d1d" is available. See: https://github.com/lpossenti/MANworks_ht_curvature for the latest release.

Documentation

The documentation is produced by doxygen. The file Doxyfile contains the common doxygen configuration for all examples. Build the code documentation with:

$ make pdf

It first fills fluid_ht_curvature/doc/ and transport/doc/ with code documentation ($ make doc) and then compile the .tex files to produce a portable file ($ pdflatex doc/latex/refman.tex). You can visualize the documentation with

$ evince fluid_ht_curvature/doc/latex/refman.pdf
$ evince transport/doc/latex/refman.pdf

DEV ENVIRONMENT

OS : CentOS Linux 7 64-bit

Compiler : g++-5.2.1

GetFEM lib : 5.2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published