Skip to content

Mopolino8/valves-model

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hydrodynamic modeling valves

Automatically exported from code.google.com/p/valves-model . Initial (and mostly for testing purposes) version of stationary proflem of fluid flow in large blood vessels. Significant part of this code is belongs to Geidarov N. A.

Project structure:

  • build this directory contains binary files and all that is need to run program (mask files, config files, group files etc.)

  • CMakeFiles cmake directory for their files

  • cmake_install.cmake, CMakeCache.txt, Makefile this files is needed for project build

  • lib this directory contains all requirements libraries for project

  • src code directory

  • CMakeList.txt configuration file for cmake

Source structure:

  • area_builder this directory contains all python scripts, that is need to create mask files for calculation they have use numpy(http://www.numpy.org/) for creation of the arrays build_area.py is main script other subdirectories (cube, empty) contains script with same names for different area forms pressure_mask.py is used for creation pressure mask u_mask.py is used for creation velocity mask (x component of velocity vector) v_mask.py is used for creation velocity mask (y component of velocity vector) w_mask.py is used for creation velocity mask (z component of velocity vector)

  • db this directory contains python script for upload calculation result into cloud mongodb storage at this moment there is mongolab & mongohq

  • lib this directory contains source of libraries, which is used in project they used in source form for cross-platform at this moment there is inih library for parsing ini config files (http://code.google.com/p/inih/) structure of this library was slightly modified and it used as shared library

  • visualize this directory contains all python scripts for visualization of the calculation results with mayavi2 (http://code.enthought.com/projects/mayavi/) mayavi is used as wrapper on VTK

  • main.cpp main source file, which contains numerical algoryphm on c++

Usefull commands:

Update on cluster with rsync (nusc it's short name from ssh config)
rsync -av valves-model/ dadolgov@nusc:~/valves-model --exclude .git --exclude results --exclude groups

Requirements:

About

Automatically exported from code.google.com/p/valves-model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 53.8%
  • Python 42.9%
  • C 1.9%
  • CMake 1.2%
  • Other 0.2%