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

how can code allocating relative points in curved beam.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2022, 03:16
Default how can code allocating relative points in curved beam.
  #1
Senior Member
 
Hojatollah Gholami
Join Date: Jan 2019
Posts: 171
Rep Power: 7
Hgholami is on a distinguished road
Hello,
I have a curved beam in 2D as stl file, I want to send information of each cell of upper and bottom of beam to center line cell. but as the each center point of cell have location as Cartesian coordinate x,y,z, I don't know how can I collect relative point of upper side to bottom side.
as illustrated in figure.
beam.jpg
each red point of bottom side have relative red point in upper, for curved beam, how can I code to recognize each relative points together.
Hgholami is offline   Reply With Quote

Old   January 16, 2022, 06:15
Default
  #2
Senior Member
 
Hojatollah Gholami
Join Date: Jan 2019
Posts: 171
Rep Power: 7
Hgholami is on a distinguished road
an idea is: using order of cell center in bottom and upper of beam.
But, anybody have information about the cell arrangement in triSurface calling class
Thanks
Hgholami is offline   Reply With Quote

Reply

Tags
beam, stl


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
SU2-7.0.1 on ubuntu 18.04 hyunko SU2 Installation 7 March 16, 2020 04:37
[snappyHexMesh] layer not added Rasmusiwersen OpenFOAM Meshing & Mesh Conversion 1 January 2, 2020 09:43
What is the Better Way to Do CFD? John C. Chien Main CFD Forum 54 April 23, 2001 08:10
Open source CFD code development, possible? Dr. Yazid Bindar Main CFD Forum 27 July 18, 2000 00:18
What kind of Cmmercial CFD code you feel well? Lans Main CFD Forum 13 October 27, 1998 10:20


All times are GMT -4. The time now is 13:33.