CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ICEM] .stl file shell to solid part

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By emily.imdieke
  • 2 Post By Far

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2013, 14:09
Default .stl file shell to solid part
  #1
New Member
 
Emily Imdieke
Join Date: Apr 2013
Posts: 20
Rep Power: 13
emily.imdieke is on a distinguished road
Hello,
I have an .stl file that contains a shell that I want to run using Ansys CFX. I don't know if it is possible to get ICEM to create a solid mesh through the empty core of the shell or if there is a way to make the .stl file solid in ICEM? I can get the shell mesh to import into Ansys but once this is done I can't set up up the boundary conditions due to it being a shell and what appears to be a lack of specified sections. Does anyone have any pointers for this?
emily.imdieke is offline   Reply With Quote

Old   April 4, 2013, 14:49
Default
  #2
Senior Member
 
Astio Lamar
Join Date: May 2012
Location: Pipe
Posts: 186
Rep Power: 13
asal is on a distinguished road
Hi!

You can import the stl file as both mesh and geometry.
File => import Geometry => STL
File => import Mesh => STL

So if you import it as geometry, then you have a solid surface and you can generate mesh for it.
asal is offline   Reply With Quote

Old   April 4, 2013, 15:40
Default
  #3
New Member
 
Emily Imdieke
Join Date: Apr 2013
Posts: 20
Rep Power: 13
emily.imdieke is on a distinguished road
I have done that, but that just imports the shell geometry and I need a solid geometry.
emily.imdieke is offline   Reply With Quote

Old   April 4, 2013, 22:59
Default
  #4
Senior Member
 
Astio Lamar
Join Date: May 2012
Location: Pipe
Posts: 186
Rep Power: 13
asal is on a distinguished road
Hi!

Why you need a solid geometry. You need just shell geometry for meshing. ICEM will consider solid part (Body) out of the shells when you generate the mesh.
asal is offline   Reply With Quote

Old   April 5, 2013, 12:39
Default
  #5
New Member
 
Emily Imdieke
Join Date: Apr 2013
Posts: 20
Rep Power: 13
emily.imdieke is on a distinguished road
Because I need that area inside the shell to be considered a solid body and meshed unless there is another way to do this to set up fluid flow running through in the shell.

Thanks,
Emily Imdieke
a.sarami likes this.
emily.imdieke is offline   Reply With Quote

Old   April 5, 2013, 14:13
Default
  #6
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
ICEM is surface modeller. To get the volume meshing you need material points.
davidwilcox and muth like this.
Far is offline   Reply With Quote

Old   August 18, 2013, 14:04
Default Fill it
  #7
New Member
 
siaarzh's Avatar
 
Serzh
Join Date: Nov 2012
Posts: 5
Rep Power: 13
siaarzh is on a distinguished road
If you're in the Design Modeller, do the following:

1) Make sure there are no gaps (use Surface Patch if you must)
2) Use Tools/Fill:
- Extraction Type: By Caps
- Target Bodies: Selected Bodies
- Bodies: 1 (select your patch)
- don't preserve capping bodies nor solids
3) Press "Generate"
siaarzh is offline   Reply With Quote

Old   August 20, 2013, 03:32
Default the same problem
  #8
Member
 
Ali Sarami
Join Date: Jun 2010
Posts: 34
Rep Power: 15
a.sarami is on a distinguished road
I have also the same problem. I have STL surface mesh from MRI with one input and one output. The mesh is only on the surface. I read the Aorta example and tried to add two inlet and outlet parts, but to no avail. I cannot select inlet and outlet parts because there is actually no surface there, they are only two holes!
would you please help me how to get the volumetric mesh out of this surface and assign BCs on inlet and outlet?
Thanks
Ali
a.sarami is offline   Reply With Quote

Old   August 20, 2013, 11:46
Default
  #9
New Member
 
Emily Imdieke
Join Date: Apr 2013
Posts: 20
Rep Power: 13
emily.imdieke is on a distinguished road
For my geometry I ended up having to add points around the outlet and inlet, turn these into curves, and then create surfaces out of these curves in order to create the volumetric mesh.

I hope that helps.
emily.imdieke is offline   Reply With Quote

Old   August 20, 2013, 13:01
Default
  #10
Member
 
Ali Sarami
Join Date: Jun 2010
Posts: 34
Rep Power: 15
a.sarami is on a distinguished road
Dear Emily,
Thank you for your message. Actually my input and output are complex and I need too many points to get a good curve and so surface, and putting points on the edge manually is a very hard job. Do you know any other alternative way?
Cheers
a.sarami is offline   Reply With Quote

Old   August 20, 2013, 13:12
Default
  #11
New Member
 
siaarzh's Avatar
 
Serzh
Join Date: Nov 2012
Posts: 5
Rep Power: 13
siaarzh is on a distinguished road
I'd love to help you, Ali. But it would be good to see the geometry itself. Can you post a picture? Are you using DesignModeler to work with the geometry?

One idea: maybe you could create surfaces that cover up the inlet and outlet. Then boolean it (cut the outsides) and fill the resulting geometry to create a fluid zone.
__________________
---

Guys, I'm a noob. Help me and I'll help you too.
I use ANSYS Fluent, but dabble in some meshing and modelling using CATIA, CFTurbo, Pointwise, and Hyperworks.
siaarzh is offline   Reply With Quote

Old   August 20, 2013, 13:27
Default
  #12
Member
 
Ali Sarami
Join Date: Jun 2010
Posts: 34
Rep Power: 15
a.sarami is on a distinguished road
Dear Serzh,
Thank you so much for your message and help. Please see the photos. Yes I need to fill the geometry to get the fluid zone and for it I need to first close the geometry.
Please take a look at the photos.
I am using ICEM CFD not the DesignModeler.
Attached Images
File Type: png 1.png (83.1 KB, 58 views)
File Type: png 2.png (92.7 KB, 39 views)
a.sarami is offline   Reply With Quote

Old   August 20, 2013, 15:11
Default
  #13
New Member
 
siaarzh's Avatar
 
Serzh
Join Date: Nov 2012
Posts: 5
Rep Power: 13
siaarzh is on a distinguished road
Quote:
Originally Posted by a.sarami View Post
Dear Serzh,
Thank you so much for your message and help. Please see the photos. Yes I need to fill the geometry to get the fluid zone and for it I need to first close the geometry.
Please take a look at the photos.
I am using ICEM CFD not the DesignModeler.
I'm not very familiar with ICEM, since I never used scanned data for cfd. DM was enough for simple model generation.

But from what I tried out in the past hour in ICEM, I believe you could try to use "Geometry/Create faceted/Faceted cleanup/Close faceted holes". Select the inlet or outlet boundary by click-drag (box select). This should close it.
siaarzh is offline   Reply With Quote

Old   August 20, 2013, 17:09
Default
  #14
Member
 
Ali Sarami
Join Date: Jun 2010
Posts: 34
Rep Power: 15
a.sarami is on a distinguished road
Thank you very much Serzh. It just works and I closed the inlet and outlet. But how to fill the geometry for the fluid zone?
Thanks in advance
Ali
a.sarami is offline   Reply With Quote

Old   August 20, 2013, 17:14
Default
  #15
Member
 
Ali Sarami
Join Date: Jun 2010
Posts: 34
Rep Power: 15
a.sarami is on a distinguished road
I assumed that you, Serzh, previously post about how to fill the shell in DM. It would be great if I can export my closed surface in ICEM and then import it in DM, is it possible? if yes, how?
Thanks
a.sarami is offline   Reply With Quote

Old   August 21, 2013, 02:27
Default
  #16
Member
 
Ali Sarami
Join Date: Jun 2010
Posts: 34
Rep Power: 15
a.sarami is on a distinguished road
Quote:
Originally Posted by emily.imdieke View Post
Because I need that area inside the shell to be considered a solid body and meshed unless there is another way to do this to set up fluid flow running through in the shell.

Thanks,
Emily Imdieke
Emily,
Would you please let me know how to fill the shell after closing it?
Best
a.sarami is offline   Reply With Quote

Old   May 7, 2023, 16:11
Default
  #17
Member
 
Join Date: Oct 2022
Posts: 61
Rep Power: 3
@Arash is on a distinguished road
Quote:
Originally Posted by asal View Post
Hi!

You can import the stl file as both mesh and geometry.
File => import Geometry => STL
File => import Mesh => STL

So if you import it as geometry, then you have a solid surface and you can generate mesh for it.
Hello Asal,

I have an STL file and I want to mesh it. I imported the STL file as a geometry in ICEM, but the domain and geometry lines cannot be selected, as if they are locked. what should I do ?
@Arash is offline   Reply With Quote

Old   May 24, 2023, 15:37
Default
  #18
New Member
 
siaarzh's Avatar
 
Serzh
Join Date: Nov 2012
Posts: 5
Rep Power: 13
siaarzh is on a distinguished road
Quote:
Originally Posted by @Arash View Post
Hello Asal,

I have an STL file and I want to mesh it. I imported the STL file as a geometry in ICEM, but the domain and geometry lines cannot be selected, as if they are locked. what should I do ?
Here are a few steps that may help you resolve the problem:

1. **Check Your Import**: First, make sure you've correctly imported the STL file. In ICEM, you import STL files through the File -> Import Mesh -> STL route. Choose your file and import it. The STL file should then appear as a part. If it doesn't, there may be an issue with the STL file itself.

2. **Create a Part**: Once the STL file is imported, it appears in the "Parts" section of the ICEM interface. If it isn't already, you should place it in a part. You can create a new part using the "Create/Modify Part" menu. Once you've created a part, you can associate the geometry with the part.

3. **Enable Selection**: If you're unable to select the geometry or domain, make sure that you've enabled the correct selection mode. In the toolbar at the top of the ICEM interface, there's a drop-down menu that allows you to select what type of entity you want to select (vertices, edges, faces, bodies, etc.). Make sure you've selected the correct type.

4. **Geometry Repair and Preparation**: If the geometry is imported successfully but you're still having issues with meshing, there might be some geometry issues. Use ICEM's geometry repair tools (under Edit Geometry) to find and fix any problems. Check for holes, overlapping faces, or disconnected vertices and repair them.

5. **Meshing**: After repairing and preparing the geometry, you should be able to mesh it. You can use the "Create Mesh" menu for this. Make sure you've selected the correct mesh type and size for your application.

Remember that STL files contain triangle meshes that define the surface of a 3D object. Depending on the quality of the STL file, you may encounter issues with mesh generation. If the above steps don't resolve the problem, you may need to return to your original 3D modeling software and ensure the quality of the STL file export.
__________________
---

Guys, I'm a noob. Help me and I'll help you too.
I use ANSYS Fluent, but dabble in some meshing and modelling using CATIA, CFTurbo, Pointwise, and Hyperworks.
siaarzh is offline   Reply With Quote

Old   May 25, 2023, 02:05
Default
  #19
Member
 
Join Date: Oct 2022
Posts: 61
Rep Power: 3
@Arash is on a distinguished road
Quote:
Originally Posted by siaarzh View Post
Here are a few steps that may help you resolve the problem:

1. **Check Your Import**: First, make sure you've correctly imported the STL file. In ICEM, you import STL files through the File -> Import Mesh -> STL route. Choose your file and import it. The STL file should then appear as a part. If it doesn't, there may be an issue with the STL file itself.

2. **Create a Part**: Once the STL file is imported, it appears in the "Parts" section of the ICEM interface. If it isn't already, you should place it in a part. You can create a new part using the "Create/Modify Part" menu. Once you've created a part, you can associate the geometry with the part.

3. **Enable Selection**: If you're unable to select the geometry or domain, make sure that you've enabled the correct selection mode. In the toolbar at the top of the ICEM interface, there's a drop-down menu that allows you to select what type of entity you want to select (vertices, edges, faces, bodies, etc.). Make sure you've selected the correct type.

4. **Geometry Repair and Preparation**: If the geometry is imported successfully but you're still having issues with meshing, there might be some geometry issues. Use ICEM's geometry repair tools (under Edit Geometry) to find and fix any problems. Check for holes, overlapping faces, or disconnected vertices and repair them.

5. **Meshing**: After repairing and preparing the geometry, you should be able to mesh it. You can use the "Create Mesh" menu for this. Make sure you've selected the correct mesh type and size for your application.

Remember that STL files contain triangle meshes that define the surface of a 3D object. Depending on the quality of the STL file, you may encounter issues with mesh generation. If the above steps don't resolve the problem, you may need to return to your original 3D modeling software and ensure the quality of the STL file export.
Thank you serzh for your explanation.
I imported the STL file into ICEM from command ( File -> Import Mesh -> STL) . On the left side software, there is a part. The picture below is the STL file that I have imported into ICEM.

This is a 3D airfoil that I'm going to draw the air domain around and eventually create a structure mesh for it.
Can you tell me what to do?
Thankyou,
Regargs.
Attached Images
File Type: jpg EWWE.jpg (61.8 KB, 7 views)
@Arash is offline   Reply With Quote

Reply

Tags
ansys cfx mesh, icem


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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[OpenFOAM] Paraview command not found hardy ParaView 7 September 18, 2008 04:59
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 19:47.