Skip to content

lzlcfd/ROMpisoFoam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROMpisoFoam

Citation:

If this code is relevant for your research, please consider citing:

@article{li2023accelerating,
  title={Accelerating unsteady aerodynamic simulations using predictive reduced-order modeling},
  author={Li, Zilong and He, Ping},
  journal={Aerospace Science and Technology},
  volume={139},
  pages={108412},
  year={2023},
  publisher={Elsevier}
}

Installation:

export SLEPC_DIR=$DAFOAM_ROOT_PATH/packages/slepc-3.14.2
export SLEPC_ARCH=$PETSC_ARCH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SLEPC_DIR/$SLEPC_ARCH/lib
export SLEPC_LIB=$SLEPC_DIR/$SLEPC_ARCH/lib
# Tensorflow
export LIBRARY_PATH=$LIBRARY_PATH:$DAFOAM_ROOT_PATH/packages/tensorflow-2.11/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DAFOAM_ROOT_PATH/packages/tensorflow-2.11/lib
export TENSOR_FLOW_INCLUDE_PATH=$DAFOAM_ROOT_PATH/packages/tensorflow-2.11/include
  • Load your Python environment and install tensorflow python package: pip install tensorflow-cpu==2.11 numpy==1.24 scipy==1.10 pandas==1.5.3 seaborn
  • Load the OpenFOAM environment and go to pisoROMFoam and run ./Allmake

Tutorial:

  • Go to a case and run ./Allrun

About

A reduced order model solver based on pisoFoam

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages