CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to remove the part of geometry in STL file

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By jhoepken

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2014, 02:20
Default How to remove the part of geometry in STL file
  #1
Member
 
DongHo
Join Date: Jul 2013
Posts: 51
Rep Power: 13
eddykendo is on a distinguished road
Hi! Foamers

I have STL file in which a rotor and a fuselage are separated each other.
At this moment, I just want to simulate the flow fields around the fuselage, not rotor.
For this, I'd like to remove the rotor geometry in STL file.
How to remove the rotor using commands concerning STL file in OpenFOAM?
I will appreciate it if anybody can let me know how to do that.

Thanks
eddykendo is offline   Reply With Quote

Old   June 29, 2014, 04:24
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
well, i dont know how complicated your geometry is
but you can limit your blockMesh box to fuselage, then it would cut automatically
__________________
My Personal Website (http://nimasamkhaniani.ir/)
Telegram channel (https://t.me/cfd_foam)
nimasam is offline   Reply With Quote

Old   June 29, 2014, 04:42
Default
  #3
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 159
Rep Power: 17
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
You can do it in paraview as well. Open the STL, clip at the desired position, apply the "Triangulate" filter and save as STL. This has to be repeated, for the inverted normal vector of the clipping plane.

Jens
nimasam likes this.
jhoepken is offline   Reply With Quote

Old   June 30, 2014, 03:59
Default
  #4
Member
 
DongHo
Join Date: Jul 2013
Posts: 51
Rep Power: 13
eddykendo is on a distinguished road
Quote:
Originally Posted by nimasam View Post
well, i dont know how complicated your geometry is
but you can limit your blockMesh box to fuselage, then it would cut automatically
Hi

Thank you for your reply.
I have fixed a problem using "Clip"
Your suggestion could be the one to fix it, but when the distance between two parts is too close, it might be very difficult to remove one of them only by using blockMesh.

Thanks
eddykendo is offline   Reply With Quote

Old   June 30, 2014, 04:05
Default
  #5
Member
 
DongHo
Join Date: Jul 2013
Posts: 51
Rep Power: 13
eddykendo is on a distinguished road
Hi Jens

Thank you for your reply.
As you mentioned, I have removed blades leaving a fuselage as itself using "clip" in paraview.
It was quite helpful for me.
Thanks
eddykendo is offline   Reply With Quote

Old   June 30, 2014, 11:19
Default
  #6
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 159
Rep Power: 17
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
Quote:
Originally Posted by eddykendo View Post
Hi Jens

Thank you for your reply.
As you mentioned, I have removed blades leaving a fuselage as itself using "clip" in paraview.
It was quite helpful for me.
Thanks
Thanks, I'm glad that I could help.
jhoepken is offline   Reply With Quote

Reply


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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
patch error OF v2.2.2 mac hewei OpenFOAM Installation 4 November 30, 2013 17:55
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 00:07.