2D Geom en street canyon model
As I explain to Simon and to shear my question with all CFD online users . I want to make a 2D Geom for a street canyon model ( see attached file) with a canyon aspect ratio equal to ( H/W =0.12m/0.12m). I am a begginer user of ICEM and I need steps to make geometry and meshing.
OK, here it comes. I think I am getting to busy lately to help with this sort of thing. The work is quick, but explaining it takes time. I guess I should have run the replay scripting, but oh well, I guess I will for the blocking.
This first post is about creating the geometry. ICEM CFD is primarily a mesher, but it has geometry tools that are useful.
I started with Points at XYZ locations... It is a 2D model, so Z=0.
Then I created lines between those points.
Then I created a Surface from those lines (the command is surface from 2 to 4 curves, but if they are coplanar, there is no limit).
Then I broke the model into various parts (INLET is a curve because it is the boundary to the AIR, which is a surface...)
Then I set some basic sizes based on the image you sent me of the problem. We will set sizes more carefully in Hexa later, so this is just a rough pass.
So then you initialize 2D blocking... (sorry, no image, but it is the first option in the blocking tab). This gives you one big rectangle.
I associated the vertex corners of this rectangle with the point corners of the model.
Then I made 4 vertical splits based on the points at the corners of the buildings... In the script these splits will follow those points...
Then I made 1 horizontal split based on the point at the top of the buildings.
Then I deleted the two blocks within the buildings.
Then I set some basic edge parameters
And here is my first very coarse premesh. If this is the topology you want, you would just need to go back and spend some time with the edge params getting things right...
But you probably want some good boundary layer resolution... Time for the Ogrid...
For Ogrid, you select all the blocks and then control it with the faces/edges...
In this first case, I have also selected the edges on the inlet, far field (top) and outlet. This cause the Ogrid to pass out those faces and leaves a boundary along my ground and buildings...
But you can do many different o grid topologies... In this next one, I additionally selected the edges on the ground ahead of and behind the two buildings... This caused the Ogrid to pass thru the ground and gave a different topology.
You could not include the block between the buildings in the first Ogrid so it would pass across the top of the gap and then put a second Ogrid in the block between the buildings to capture recirculation.
You could split off a block behind the second building and Ogrid that to capture a wake, etc.
Then in the end, you would adjust final vertex locations, edge parameters, etc. Try some tutorials for the regular details...
2D Geom mesh model
Hi Simon ;
thanks for reply ;
I am still with blocking Method you describe to me , but in stead I use Curve Mesh parameters--> selecting the building curves to make high resolution around building (See photo) . After Edit Mesh---> Check mesh, I still have problems as you see in image. What's wrong with me !
That is not a problem you need to be concerned with in 2D case. That diagnostic is for 3D cases.
The single edges are bound to occur in a 2D mesh for all elements at the boundary of a CV.
allastormoody11 is totally right... That is why that column is listed as possible problems. Just check it and make sure the single edges are around your perimeter and you are all right.
I want to use CFX PRE to import a *.msh file is it possible what is the way
After creating an new case, import mesh. When you go to browse for your files, you will see an import file filter and can change it to "ICEM CFD" to get the options for *.cfd5 or *.msh
I have some troubles about boundaries condition in street canyon. Especially, it is an infow condition, i.e. equation of inflow condition?
Thanks and best regards
|All times are GMT -4. The time now is 18:59.|