Skip to content
forked from yufeimi/CVplot

A visualization tool for OpenIFEM FSI module with control volume analysis. It plots the following integral equations from the control_volume_analysis.csv file that ControlVolumeFSI<dim> outputs:

License

Notifications You must be signed in to change notification settings

OpenIFEM/CVplot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CVPlot

A visualization tool for OpenIFEM FSI module with control volume analysis. It plots the following integral equations from the control_volume_analysis.csv file that ControlVolumeFSI<dim> outputs:

  • Mass conservation
  • Momentum equation
  • Mechanical energy balance
  • Generalized Bernoulli equation
  • Gap history
  • VF surface motion animation

How to use:

  1. Install the dependencies using python3 -m pip install -r requirements.txt command under the top directory.
  2. Create a directory named Cases under the top directory. This is the default location to store the case files and is ignored by git, but feel free to use other locations.
  3. In your case subfolders, create shortcuts of the python files you need, then copy control_volume_analysis.csv file (for control volume analysis) and solid_trace directory (for gap size history and VF motion) from OpenIFEM outputs to the same directory.
  4. Specify plot_settings.yaml under the same directory. This file controls the plot settings. An example is given in the source files.
  5. In case gap history is needed, run gap_history_generator.py first to create gap.csv.
  6. Run source files for corresponding analyses.

About

A visualization tool for OpenIFEM FSI module with control volume analysis. It plots the following integral equations from the control_volume_analysis.csv file that ControlVolumeFSI<dim> outputs:

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%