I need to do a CFD simulation with Comsol. I have an STL file with a mesh describing the surface of an object on which I would like to do some fluid dynamics simulation. As far as my understanding goes, this file is just a collection of triangles.
My strategy for the simulation goes as follows:
- I made a new 3D, Fluid Flow, Stationary State project
- I used geometry -> import feature to import my STL file (this works fine) (you can see a picture at i.stack.imgur.com/1Smsq.png). As you can see, my object gets automatically partitioned in surfaces. Is this correct?
- I then do Geometry -> Add block to describe the space within which I want my air to flow. In this example I placed it so that my object lays outside the block, but I tried also to put it inside and nothing of what follows changed
- I proceed to assign materials. I would like my object to be in nylon. So I go to materials, open the dropdown menu of built-ins, and then I try to select my object. This does not work. The only thing that I apparently get to select is the block (you can see a picture at i.stack.imgur.com/4GE5o.png). If I select "All domains" to add it manually, only one domain shows up and it is the block.
Am I doing something wrong? My intuition says that I should somehow tell comsol that that geometry that I imported represents a closed object, and that I need it to be considered as a domain, but I wouldn't know how to do such a thing.
Thank you
Matteo
My strategy for the simulation goes as follows:
- I made a new 3D, Fluid Flow, Stationary State project
- I used geometry -> import feature to import my STL file (this works fine) (you can see a picture at i.stack.imgur.com/1Smsq.png). As you can see, my object gets automatically partitioned in surfaces. Is this correct?
- I then do Geometry -> Add block to describe the space within which I want my air to flow. In this example I placed it so that my object lays outside the block, but I tried also to put it inside and nothing of what follows changed
- I proceed to assign materials. I would like my object to be in nylon. So I go to materials, open the dropdown menu of built-ins, and then I try to select my object. This does not work. The only thing that I apparently get to select is the block (you can see a picture at i.stack.imgur.com/4GE5o.png). If I select "All domains" to add it manually, only one domain shows up and it is the block.
Am I doing something wrong? My intuition says that I should somehow tell comsol that that geometry that I imported represents a closed object, and that I need it to be considered as a domain, but I wouldn't know how to do such a thing.
Thank you
Matteo