CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Radius of streamlines curvature

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By olesen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2024, 07:42
Lightbulb Radius of streamlines curvature
  #1
New Member
 
Rishi Kumar
Join Date: Jun 2022
Posts: 20
Rep Power: 4
rishik686 is on a distinguished road
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.
rishik686 is offline   Reply With Quote

Old   February 13, 2024, 06:01
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by rishik686 View Post
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

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.
olesen is offline   Reply With Quote

Old   February 13, 2024, 08:34
Default
  #3
New Member
 
Rishi Kumar
Join Date: Jun 2022
Posts: 20
Rep Power: 4
rishik686 is on a distinguished road
Quote:
Originally Posted by olesen View Post
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.
Thank you very much Mark for your valuable reply,
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.
rishik686 is offline   Reply With Quote

Old   February 14, 2024, 07:36
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
You will have to dig into the code yourself, but I guess that is what your project is about...
rishik686 likes this.
olesen is offline   Reply With Quote

Reply

Tags
openfoam, radius, streamlines


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with FOAM fatal error (fault lying in snappyhexmesh) alexc1 OpenFOAM 0 February 1, 2022 11:01
How to find the curvature of streamlines shadabdyn OpenFOAM 0 April 10, 2019 07:14
reproducing similar curves with non-uniform radius of curvature in CFX post alinik CFX 9 November 6, 2015 01:06
Modeling of turbulence in curved pipe of radius of curvature R go2saqi Fluent UDF and Scheme Programming 1 April 25, 2012 10:14
Access to the radius of curvature in FIDAP Parsa Zamankhan Main CFD Forum 0 November 28, 2008 13:16


All times are GMT -4. The time now is 16:06.