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

[ICEM] Box in a Box

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 21, 2010, 17:59
Question Box in a Box
  #1
New Member
 
Join Date: Jun 2010
Posts: 27
Rep Power: 7
FabioT is on a distinguished road
Hi,
I need to mesh a building in a wind tunnel with ICEM 12.1.
Basically it is a box in a larger box.

How can I mesh so that, once I import in Fluid 12.1, he will consider the building rigid but will give me the pressure on the walls?

Thank you,

Fabio
FabioT is offline   Reply With Quote

Old   June 21, 2010, 18:00
Default
  #2
New Member
 
Join Date: Jun 2010
Posts: 27
Rep Power: 7
FabioT is on a distinguished road
Obviously it is a 3D problem.
If you have any tutorial explaing how to mesh something like that, please let me know.


thanks,

fabio
FabioT is offline   Reply With Quote

Old   June 22, 2010, 10:11
Default Default
  #3
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 36
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
That is just the default situation. If you mesh with ICEM CFD (or pretty much any mesher), you will end up with shells on the walls of the building (all the boundaries of the volume actually). If you don't assign them a specific Boco, they will be assumed as walls. In Fluent, you can be more specific about the properties of the walls, but even there you can probably go with the default.

Now, if you wanted the opposite (a non rigid building that could flex with fluid structure interaction, that would take some more care

Simon
PSYMN is offline   Reply With Quote

Old   June 22, 2010, 13:12
Default
  #4
New Member
 
Join Date: Jun 2010
Posts: 27
Rep Power: 7
FabioT is on a distinguished road
Ok, thank you, but I still have some problems (it is the first time I use ICEM).

I've done the geometry and the blocks for the mesh, but i'm not really sure what is the best way to "Associate" after I split the blocks.
Should I do it with point by point or there is a more easy way?

Moreover I don't know how to associate the surfaces with the faces, because there are some internal faces between blocks that do not correspond with any geometrical part but only to another face of an adiacent block.

I hope you can understand what i've said: the attachment can help.

Thank you very much for any reply,

Fabio
Attached Images
File Type: jpg box.jpg (90.7 KB, 17 views)
FabioT is offline   Reply With Quote

Old   June 22, 2010, 14:00
Default
  #5
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 36
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
When you split a block, the new internal edges should be CYAN (blue) because the blocks on either side of the split are in the same blocking part (such as FLUID).

When I look at your image, it already looks wrong because all your internal edges are black, which means they are projected to surface. I am guessing that the only surfaces inside the volume are down in the tiny block in the middle of the base.

I suggest a start over

1) Create block, apply. This will create a block perfectly aligned with your outer block.

2) Associate the outer edges with the curves of the large box. If we do this now, there will be fewer clicks than to associate these edges after we have split them.

3) Associate the corner verts to the corner points. This is not necessary, an experienced user could skip this step, but it helps newbies get all the corners properly.

4) Split the big block to capture the little block. This is two splits in X and Y and then 1 split just above the block in Z.

5) Zoom in and repeat steps 2) and 3) with the little block.

6) Delete the little block (Blocking => Delete blocks) (but not with the permanent option). This is probably the key step you were missing. This changes the blocking material for the inner block from FLUID (or whatever it was) to VORFN. As soon as the blocking detects a difference, it will immediately associate all the faces between those materials (the faces of your building) with the nearest part. This will give you shells in your building part and you should be all set.

6-alternate) you could chose to put the building into a different material instead of deleting that block. You could create a new material (SOLID) and "add blocking material to part". This would give the same result, except you would have the option to output the building mesh.

7) Setup mesh parameters.

8) Optionally, you could create an Ogrid around your building as a boundary layer.


Go and do some tutorials. They will get you going and save a ton of frustration. Start with something 2D for the basics, and then try a couple 3D ones.

Best regards,

Simon
PSYMN is offline   Reply With Quote

Old   June 22, 2010, 16:52
Default
  #6
New Member
 
Join Date: Jun 2010
Posts: 27
Rep Power: 7
FabioT is on a distinguished road
Hi, I think i did it. I was going crazy because there was something wrong at the beginning...

I'm sure i will come up with some more questions sooner or later..

bye,

Fabio
FabioT is offline   Reply With Quote

Old   June 22, 2010, 17:04
Default Tutorials...
  #7
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 36
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Try some tutorials and you won't have any questions until later... (rather than sooner )

Simon
PSYMN is offline   Reply With Quote

Old   June 23, 2010, 12:21
Default
  #8
New Member
 
Join Date: Jun 2010
Posts: 27
Rep Power: 7
FabioT is on a distinguished road
Hi, thank you very much Simon!
I have done the mesh and I think it is fine.

I have now to import it in Fluent 12.1 but i am not really sure how to do it. Do I have to save the mesh in a particular format after i did it in ICEM?

What kind of mesh would you suggest?

Thank you again,

Fabio
FabioT is offline   Reply With Quote

Old   June 23, 2010, 13:19
Default
  #9
New Member
 
Join Date: Jun 2010
Posts: 27
Rep Power: 7
FabioT is on a distinguished road
By the way, this is what I've doneup till now.
My only doubt is the box in the middle: ICEM meshes also that part, but i don't want to consider it.

In the last post you told me that I should be fine, but I still don't understand why ICEM meshes also that.

I've already found how to import the whole mesh in Fluent.

Thank you,

Fabio
Attached Images
File Type: jpg box1.jpg (59.5 KB, 18 views)
File Type: jpg empty box.jpg (52.6 KB, 16 views)
File Type: jpg mesh.jpg (96.0 KB, 20 views)
FabioT is offline   Reply With Quote

Old   June 23, 2010, 14:28
Default Basic steps...
  #10
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 36
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
You really need to go thru a tutorial

Your first two images show that you were doing hexa blocking... But the 3rd image shows tetra (totally wrong process) and the cube wasn't even captured.

Are you trying to generate a tetra mesh or a hexa mesh? Even a basic tutorial will get you thru either.

Once you have an unstructured mesh (this step will be shown in every tutorial), you can go to the output tab. Select the solver first (you should probably pick Fluent). The next icon over lets you set up boundary conditions. The default setting is wall. Then output to Fluent... ICEM CFD will write out a fluent.msh file that you can read into the Fluent solver (or into TGRID or whatever).
PSYMN is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
best way to mesh a thin box? tony CFX 1 January 14, 2008 14:22
Junction Box Anil CFX 2 June 27, 2006 10:18
Immersol Simulation of a Heated Box Dong Phoenics 0 March 2, 2006 22:20
natural convection in a heated box Stefan FLUENT 2 January 27, 2003 03:27
CFD for a Soap Box Derby car Dean Christakis Main CFD Forum 0 July 6, 1999 01:09


All times are GMT -4. The time now is 23:41.