Region Refinement Import

I have a single domain and then a small aircraft with a small box which encompasses it. The small box is not subtracted from the domain, its its own volume. In the mesh setup, I have tried applying region refinement to the small box - I’d rather have the refinement regions defined in CAD then making them manually every time in Simscale. However, I keep getting an error saying “A setup with at least 2 regions is being used in a single-region analysis type. Please delete CAD regions that are irrelevant for the simulation. If all CAD regions are relevant, ensure that only one region is assigned to the material and that all other bodies are assigned to advanced concepts.” This happened even when I deleted the box in the editor in Simscale and added a new box again. I also tried use Hex-dominant meshing, but got the same error.

Surely I don’t have to manually type in the coordinates for a refinement region every single time? I want to compare a large batch of simulations with the aircraft in different configurations and it would be very time consuming to do so. Any help is appreciated :slight_smile:

Hey there 34a07642e91b43,

Thanks for posting on the forum!

For flow simulations, all existing volumes are considered to be flow regions with an exception when they are assigned to an advanced concept.

The best way to do add a region refinement would be to add a suitable Geometry Primitive in the model, which is not considered to be a volume for flow. Currently, there is no way to convert part of the CAD model into geometry primitives unfortunately and you would have to add one in SimScale. Since you don’t want to do that, the work around would be to set your additional region as one of the advanced concepts such as a rotating zone and then input 0 values for rotation so that effectively no rotation is actually applied. You can then add region refinements to these volumes and you will not get an error like this.

This might however increase core hour usage (computation time and effort) (compared to using a Geometry Primitive) since a rotation variable (even if 0) is introduced in the calculations. I will have to get in touch with the team and get back to you to be certain about this.

Let us know if you have more questions!

Best,
Satvik

1 Like

Great thank you for your help! I did consider that but I was afraid it would produce another error. I’ll give that a try. Thanks again

Hey 34a07642e91b43,

What you can also do, by the way, is pick the points from the viewer directly, instead of typing in the coordinates manually every time. See this: Pick points for Geometry Primitives
You can try this out, it is easy. Once you create the geometry primitive using these points that you click on the existing additional volumes and have a similar geometry primitive in place, you can then go ahead and delete these additional volumes and continue normally! Let us know how this works out for you!

Best,
Satvik