CFD PreProcessing Library
Project description
CFDPre
What is CFDPre?
CFDPre is an open-source collection of object-oriented software tools for calculating boundary layer mesh dimensions for Computational Fluid Dynamics simulations. Among other things, it can be used to:
- Calculate First Layer Thickness, Growth Ratio and Final Layer Thickess
Installation
pip install cfdpre
- The Python module can also be installed using pip on Windows, macOS, and Linux.
Usage
from cfdpre import yhgrcalc
yhgrcalc('Air', 50, 10, 2.5, 125, 1, 8)
Output:
{'fluid': 'Air',
'temperature [C]': 50,
'pressure [bar]': 10,
'massflow [kg/sec]': 2.5,
'hydraulicdia [mm]': 125,
'target yplus': 1,
'number of layers': 8,
'dynvisc [N-sec/m^2]': 1.9762497305390764e-05,
'thermal conductivity [W/m-k]': 0.028357331300649127,
'specific heat [cp] [J/kg-k]': 1019.3146170790077,
'density [kg/m^3]': 10.792698589669245,
'kinematic viscosity [m^2/s]': 1.8310987878701066e-06,
'flow velocity [m/sec]': 18.875569021507275,
'reynolds number': 1288541.1444310248,
'prandtl number': 0.7103701741111368,
'skin friction coefficient [cf]': 0.0035835733898580227,
'wall shear stress [tau_wall]': 6.889956204766106,
'yplus [m]': 2.2917570116263887e-06,
'first layer height [m]': 4.5835140232527775e-06,
'Growth Ratio': 2.3120331242085856,
'Final Layer Thickness [m]': 0.0016186648187374525}
Documentation
In progress - not yet made!
Users' Group
- Users Group: https://groups.google.com/g/cfdpre
Source Code
- Source code: https://github.com/phsheth/cfdpre
Call for Contributions
The CFDPre project welcomes your expertise and enthusiasm! Better to discuss before strarting to contribute!
Project Log
January 2025:
- Created Library
Project Road Map:
- Documentation for existing functionality.
- Include example data within library.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cfdpre-0.2.1.tar.gz.
File metadata
- Download URL: cfdpre-0.2.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef76b3668a55c4e198aa17eb5d8084c88604c1678c948c24ead43c85d8c50ddd
|
|
| MD5 |
1329f550473b639cde45903278fe03ae
|
|
| BLAKE2b-256 |
c7236a14a9b83e7878f4bace267c486b1e88d996b8d9eaaf118ef0a2837dc1ef
|
File details
Details for the file cfdpre-0.2.1-py3-none-any.whl.
File metadata
- Download URL: cfdpre-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7798c1c7f17368f229d8bafcd4b3673b6e8b1a09adfbd8c4cfa9f1d612ed435
|
|
| MD5 |
6aa69e3fcf8ff51f9d2536d6292b702c
|
|
| BLAKE2b-256 |
50e2e8bc8e72a8a9fc3d2f6a66ae354cdd42a7c9a46d889ef2f58267b69922aa
|