|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Rishi Kumar
Join Date: Jun 2022
Posts: 20
Rep Power: 4 ![]() |
Hello Foamers,
For my project, I need to calculate the radius of curvature of the streamlines. I developed a solver and needed to include the radius of curvature of the streamlines. Please help me calculate the radius of the curvature and how to implement it in the OpenFoam-10 ![]() ![]() ![]() ![]() Thank You
__________________
Rishi K. |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 ![]() ![]() |
Quote:
You will need to go into the streamLineBase writeToFile() method. After all of the writing is over, you will have access to the allTracks_ point information (trimmed to any bounding box and with empty tracks removed). From there you can walk the segments and calculate the curvature. |
||
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Rishi Kumar
Join Date: Jun 2022
Posts: 20
Rep Power: 4 ![]() |
Quote:
is there any example or case which I can follow to include the streamLineBase method. Till now I didn't dig deeper in OF. Any other suggestions can also work. I can also work with the geometrical curvature. Any insight how to calculate curvature using mesh data (coordinates) will be valuable for me. i already posted a separate thread for the same (Geometrical Curvature).
__________________
Rishi K. |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 ![]() ![]() |
You will have to dig into the code yourself, but I guess that is what your project is about...
|
|
![]() |
![]() |
![]() |
Tags |
openfoam, radius, streamlines |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with FOAM fatal error (fault lying in snappyhexmesh) | alexc1 | OpenFOAM | 0 | February 1, 2022 10:01 |
How to find the curvature of streamlines | shadabdyn | OpenFOAM | 0 | April 10, 2019 06:14 |
reproducing similar curves with non-uniform radius of curvature in CFX post | alinik | CFX | 9 | November 6, 2015 00:06 |
Modeling of turbulence in curved pipe of radius of curvature R | go2saqi | Fluent UDF and Scheme Programming | 1 | April 25, 2012 09:14 |
Access to the radius of curvature in FIDAP | Parsa Zamankhan | Main CFD Forum | 0 | November 28, 2008 12:16 |