CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Append new object and not mesh everything

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By kandelabr

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 5, 2022, 09:56
Default Append new object and not mesh everything
  #1
New Member
 
Join Date: Aug 2022
Posts: 2
Rep Power: 0
kokicar vesolja is on a distinguished road
Hello!


I already did my fair share of googling and now I ran out of word phrases to search.



I have a plane made out of 3 separate parts: fuselage (body with wings), ailerons and elevators in wind tunnel - they do not touch i.e do not have any shared edges or faces. Since mesh is pretty detailed and it needs to be for accurate results, it takes a lot of time to snappyHexMesh.


Is it possible to snappyHexMesh a plane, do the foaming and then snappyHexMesh just the elevators under different angle to already existing mesh of a plane and not the whole plane again with elevators under different angle?


Or in other words: if I had snappyHexMesh-ed a sphere and wanted to add another sphere somewhere in the mesh, would I have to snappyHexMesh the whole thing or can I just "append" the sphere to already existing mesh?



Thank you for your answers.
kokicar vesolja is offline   Reply With Quote

Old   August 6, 2022, 03:05
Default
  #2
Senior Member
 
kandelabr's Avatar
 
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9
kandelabr is on a distinguished road
This would be possible with mesh movement, that is AMI or overset mesh. The first is possible if you're able to put the moving parts in a cylinder without touching the stationary part of the mesh so you can rotate them freely. The other does not have this requirement but is a bit more exotic. Neither of those two methods require any remeshing.
kokicar vesolja likes this.
__________________
www.damogranlabs.com

Last edited by kandelabr; August 7, 2022 at 04:03.
kandelabr is offline   Reply With Quote

Old   August 8, 2022, 03:24
Default
  #3
New Member
 
Join Date: Aug 2022
Posts: 2
Rep Power: 0
kokicar vesolja is on a distinguished road
If I understand correctly, I'd move the elevators to a different angle during the simulation?


To do something like: have a plane with elevators at 10°, snappyHexMesh, run the solver and then remesh just the elevators at 20°, and again run the solver, this wouldn't be possible?
kokicar vesolja is offline   Reply With Quote

Old   August 8, 2022, 07:14
Default
  #4
Senior Member
 
kandelabr's Avatar
 
Nejc
Join Date: Feb 2017
Location: Slovenia
Posts: 196
Rep Power: 9
kandelabr is on a distinguished road
It's perfectly possible.
Imagine you're simulating a pump, there's a fixed part and a rotating part. Those are separate meshes connected via AMI/NCC.
You can make a simulation where impeller rotates during simulation itself or you can prepare a frozen rotor simulation where impeller is fixed.

Your case would be the latter, fixed domain/fuselage/wings and a separately meshed elevators. You'd connect those two parts into a single mesh, set the angle in advance, then run the simulation. For a different angle, just rotate the elevators - not remesh - and run again.
__________________
www.damogranlabs.com
kandelabr is offline   Reply With Quote

Reply

Tags
#newobject, #partialsnappyhexmesh, #plane, #snappyhexmesh, #sphere


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:02.