Skip to content

MECSEM/pysemfoam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySEMFOAM Code style: black

Tools for working with mecsemTracer data.

Contributors: Cristian & David

Install

Run pip install git+ssh://git@github.com/MECSEM/pysemfoam.git with your venv activated to install.

Preprocessor

VTP data from the raytracer must be preprocessed before usage. This is done by running python -m pysemfoam.preprocessor with the appropriate parameters. Append --help to see them. I always recommend specifying the optical axis instead of letting the program autodetermine it.

Usage

The preprocessor will generate a compressed ".msc" data file. This file can be loaded using the pysemfoam.codec.PyMECSEMDataReader class. The load() method returns the processed data array. This array can be passed into a pysemfoam.ray.RayDataManager class which handles interpolation. See the provided examples for more information.

About

Python library to handle 3D simulation data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages