Complex Geometrical Surface Splitting operation (AIJ Case F) & Geometrical Refinement

Hi everyone!

Having issues doing a STL Surface splitting operation for a complex urban geometry from the Architectural Institute of Japan (AIJ [Case F]). Project link here. The operation just runs into an error.

Normally I would by-pass this problem by converting it to another format, however, converting it or downloading the dxf from AIJ does not translate the ground elevation over. You can see this clearly when comparing “Case F Clean 1 IGES” with “Case F IGS” where at the bottom of the circular bounding area in the STL are slight elevations at the ground. Hence my need to work with the STL file directly.

So is there any other way to surface split a geometry like this?
Or better yet, is there a way to mesh different ground elevations in SimScale to different sets of geometries?

I have other issues pertaining to this geometry but currently this is a more major issue.

Looking forward to possible solutions!

Cheers.

Regards,
Barry

Hi Barry!

Let’s see, maybe @yosukegb4 can give you some useful tips on your issue. Have you read his recent posts? Think so but I assume that did not help you, right?

Cheers and good luck!

Jousef

Hi Jousef!

Yup I have seen the posts by @yosukegb4 but its a slightly different issue as the dxf file provided is unable to determine floor data while the STL file is not workable within AutoCAD and needs to be converted to a dxf file which again produces the earlier mentioned problems.

Sure! Hopefully someone has an idea! In the meantime do you have any suggestions on meshing an empty domain for simulation?

Cheers.

Regards,
Barry

Hi Barry,

have not struggled with those kind of problems with dxf files before. Let’s see if Yosuke has an idea on how to fix that, I am curious about it.

Best,

Jousef

What do you mean empty? Do you want a box?

And regarding face splitting, do you need all the faces split or just a few particular ones?

Cheers,
Darren

Hi Darren,

Thanks for the reply!

Yup just a box with a specific domain size to simulate the atmospheric boundary layer inlet with a surface roughness to see how flow progresses throughout the domain. I was thinking just moving the bounding box outside of the geometry to that. What do you think?

Yes I do need all, every single individual building and especially a few particular ones (namely the tallest buildings in the center). Similar to what I’ve done for this project under “Full Fine Mesh” as I intend to apply separate individual refinements.

Cheers!

Regards,
Barry

Yes I think that should work, when I did it before I just made a box in CAD and meshed it as an internal flow.

As for face spliting, any chance you could give this a go:

sharing any advice and success with this solution would be really appreciated.

Cheers,
Darren

2 Likes

Hi Darren,

Currently trying to mesh the domain now. Need to consider the inlet conditions though so that will be a little complicated.

Thanks for the STLfacefinder software however, having issues running it as apparently it dosen’t recognize visual studio in my PC. Need to fix that first.

Will post if I get anything!

Cheers.

Regards,
Barry

Hi Darren,

No luck on my end trying to get the STLfacefinder software working. Do you want to try to split the surfaces on your end? You can obtain the geometry here.

Cheers.

Regards,
Barry

Hi Barry,

My small contribution to the problem.
Have you tried using Salome for this? You can explode the geometry and create different groups of faces according to the refinements that will be assigned to these groups.

After creating the groups, you can import the geometry again on SimScale platform in either STL or STEP.

However, I think it is really difficult for Salome to handle this geometry as there are almost 0.1 M faces.

Regards,
Rajan

2 Likes

Hi @rajan19us,

Thanks for you valuable input! Yes I do agree with you due to the nature of this geometry and the sheer number of faces involved it would be difficult.

Regardless, Salome sounds interesting and I will take a look! Thank you!

Cheers.

Regards,
Barry

Hi @Get_Barried

I downloaded the CaseF data from AIJ.
https://www.aij.or.jp/jpn/publish/cfdguide/index_e.htm

I write matters I noticed below.
It may be out of the flow of issues since I have not followed up all the discussion yet.

  • CaseF(Shinjuku).dxf / CaseF(Shinjuku).mcd
    • Many non-solid objects (= open faces)
      • You have to rebuild the models for solid.
    • No ground shape seems.
      • Can rebuild it from STL? ( I’m not sure. )

Open face models shown in Rhinoceros

  • CaseF(Shinjuku).stl
    • Some overlapping wrong meshes

Wrong meshes shown in MeshLab

I think all these data are not good enough for CFD.


Anyway, in order to create a mesh for CFD,
it is necessary to make usable solid data from one of them.
I think there are two ways to fix it.

1. Rebuild models of DXF on CAD
  • Change open face building data to solids
  • Build ground shape data
2. Edit meshes of STL on MeshLab or some mesh editor ( I don’t have enough knowledge about mesh editing, sorry. )
  • Remove wrong meshes
  • Repair holes

Maybe you have already reached similar conclusions.
I’m sorry this post will not help anything.

Regards,
Yosuke

2 Likes

Hi @yosukegb4,

Thanks for the insight! Yes there are truly a lot of problems with the given geometry that the more I look through the more problems crop up. Your input certainly allowed me to identify even more issues with the CAD itself.

It is likely at this point that I have to redo the entire CAD and am currently wondering how to do so most efficiently and more importantly, as accurately as possible due to the end objective of comparing this particular geometry to an actual wind tunnel scale model.

Thanks again for your valuable input!

Cheers.

Regards,
Barry

1 Like

Hi @jousefm,

Is there anyway to check the error logs on the STL face splitting operation for this project for the “CaseF STL”?

Cheers.

Regards,
Barry

Hi everyone,

So a couple of days of downloading multiple CAD softwares from solidworks to freeCAD has finally yielded some results! The STL file has been converted and modified as well as split so it turned out pretty good! Needs further refinement but otherwise good to go and has translated the much needed ground elevation data as well.

So the software I used is Autodesk’s MeshMixer. Due to how annoying STL files are, you first need to import the STL file into MeshMixer to then convert the geometry into a solid body via the edit function. Converting it to a solid body will require you to define two things, the solid accuracy and mesh density. Solid accuracy is where the definition of the solid body comes from and making that as small as possible in terms of the cell size will yield better and better results, however at increased computational cost in terms of size and time of course. Mesh density I’ve haven’t had time to play around so you can try increasing that to see what the results are but I set that to the highest level of fineness regardless.

Oh and do note that you also have to select the way the program creates the solid body. For my purposes, edge accuracy is important so that is the mode (sharp edge preserve) I have selected.

Once that is complete you can split the faces natively in the program under edit “Generate Face Groups” and you’re good to edit the geometry within the software or export it out as a solid body to your preferred CAD software.

I exported my file from there as STL and uploaded onto SimScale where I performed a STL face splitting operation that was successful as you can see in the picture.

Hope this helps anyone who needs a free and easy alternative to modifying STL files for simulations. My geometry here needs to be very accurate so getting what you want would probably require specific values tailored to your needed accuracy when it comes to generating a solid body.

Cheers everyone!

Regards,
Barry

Edit: Just to add, this method is preferable for smaller less complex geometries. Too large of a geometry and you will have issues performing the STL face split.

4 Likes

Interesting read, thank’s for the detailed solution Barry!

1 Like