Hello @Hadi,
sorry for the late reply. The files use a lot of RAM, everything took very long.
A lot of files had some import errors but sculpt could ignore them enough it seems.
Here is a picture of one of the edges just to show you that its working.
Cubit got stuck when it was autocomputing the size of some volumes, so its better to directly assign a size.
The simplest way to mesh this is
#!cubit
reset
#!python
files = []
files.append("Bevcon.stl")
files.append("Val-DOr.stl")
files.append("Valentin.stl")
files.append("Vicour.stl")
files.append("Pontiac.stl")
files.append("Triangle.stl")
files.append("Pascalis-Tiblemont.stl")
files.append("Plug 4.stl")
files.append("Plug 5.stl")
files.append("Lanaudiere.stl")
files.append("La Corne.stl")
files.append("La Motte-Vassan.stl")
files.append("Lamaque.stl")
files.append("Heva.stl")
files.append("Jacola.stl")
files.append("Dubuisson.stl")
files.append("Dunrain.stl")
files.append("East Sullivan.stl")
files.append("Garden Island.stl")
files.append("Bourlamaque.stl")
files.append("C porphyry.stl")
files.append("Cadillac-Piche-Trivio.stl")
files.append("Connell.stl")
for i in range(len(files)):
cubit.cmd(f"import stl 'C:/Users/offic/Downloads/STL_GeologyUnits_Polished/{files[i]}'")
vol_id = cubit.get_last_id("volume")
cubit.cmd(f"volume all size 100")
cubit.cmd(f"sculpt volume all")
But that will only get you 1 size for all volumes. So you should use the material feature from sculpt.
Here is a small example
reset
create brick x 1
webcut volume all with plane xplane offset 0
webcut volume all with plane yplane offset 0
webcut volume all with plane zplane offset 0
vol all size 0.05
Sculpt volume all adapt_type 8 adapt_material 2 2 3 0.5 0 0 7 2 0.5 0 0
#adapt_material 2 2 2 0.5 0 0 7 1 0.5 0 0
#defines 2 materials (volume 2 and 7)
draw block all
The materials can be easily defined using the adaptive meshing widget from sculpt.
Also be aware that a refinement on boundaries is possible.
You will just have to invest some time and modify the parameters to your liking to hopefully achieve the desired hexmesh.
From the way the geometry looks and the errors i am now sure that sculpt is the only option here.


