Multiply a geometry-part in a model/mesh
Dear CFD-Online users
For my current CFD case i need to find a way to automatize a part of the modeling/meshing process. The full mesh of the case is built by several similar repetitive parts. (e.g. a couple of similar tee-connector, connected to each other). The difficult thing for me is now: i need to provide a model where a user can choose the amount of the repetitive parts and the model/mesh is adjusteded by itself. I already meshed the repetitive geometry, but so far i couldn't find a option to automatize the following commands: 1) i need to copy the meshed geometry 2) move the copied geometry to the outlet of the first piece 3) connect them together 4) rename the patches 5) repeat the process as often as necessary I tried to figure out if this is possible by APDL, but i'm not sure yet. Anybody knows a solution for this problem? I hope the description of my case is understandable. Thanks in advance! Cheers, blackbow |
Anybody? :-)
|
Hi Dani,
I think it can be done but you need to write JS script for that. Also you need to create an interface where user can input how many parts it needs and which in return should create your JS file. Once JS file is created, running is easy! Its not a quick fix thing and its a big project on its own! No need to go in APDL. Just read about "Scripting" and how it is done, that the first step I would suggest. Cheers KAPI |
Hi Kapi
Thanks for your answer! JS was at the end to time intensive - we automatizd part of the modelling with excel sheets and WB variables. Cheers, Dani |
All times are GMT -4. The time now is 12:49. |