CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Unstructured Grid VS. Levet Set method VS. Immersed Boundary method

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sbaffini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2022, 03:50
Default Unstructured Grid VS. Levet Set method VS. Immersed Boundary method
  #1
Member
 
Jingchang.Shi
Join Date: Aug 2012
Location: Hang Zhou, China
Posts: 78
Rep Power: 13
aerosjc is on a distinguished road
Hi,

We need some methods to handle the complex geometry in the industrial applications. The natural way is the unstructured grid along with the Finite Volume method or the Discontinuous Galerkin method or the Flux Reconstruction method.
Alternatives include the Level Set method and Immersed Boundary method on the Cartesian grid.
I know the Level Set method is an alternative of the Volume of Fluid method for the multi-phase flow. Let us limit the discussion to the single phase flow.
The question is: what is the advantages/disadvantages of the Levet Set method or Immersed Boundary method over the Unstructured Grid when used to handle the complex geometry in the industrial applications?
For example, when the channel has a rough wall with many small elements, the Immerser Boundary method would be a suitable choice.
aerosjc is offline   Reply With Quote

Old   November 27, 2022, 19:10
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Level Set, as you note, is originally dedicated to multi-phase flows. But, as solids are, indeed, a different phase, there are several VOF or level set like methods that are indeed used as an immersed boundary approach.

In fact, Immersed Boundary embraces a lot of different techniques. Some of them have limitations on their flexibility (for example, VOF like methods might have problems for thin surfaces or with wall functions), others have leaks in the fluxes on the boundaries because of interpolations.

In my opinion, if body fitted meshing is feasible, structured or not, you should do it. Otherwise, immersed boundary is today mature enough to give reasonable answers to most problems, but you need the right software, not just a random one
sbaffini is offline   Reply With Quote

Old   November 27, 2022, 21:15
Default
  #3
Member
 
Jingchang.Shi
Join Date: Aug 2012
Location: Hang Zhou, China
Posts: 78
Rep Power: 13
aerosjc is on a distinguished road
The Cartesian grid is simple. The unstructured grid is complex and coding of it is relatively harder. So if I could use the Level Set method to handle the complex geometry on the Cartesian grid well, why would I use the unstructured grid? The Immersed Boundary method cannot strictly maintain the conservation of flux. That is a key disadvantage. How about the Levet Set method?
aerosjc is offline   Reply With Quote

Old   November 28, 2022, 05:17
Default
  #4
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Quote:
Originally Posted by aerosjc View Post
The Cartesian grid is simple. The unstructured grid is complex and coding of it is relatively harder. So if I could use the Level Set method to handle the complex geometry on the Cartesian grid well, why would I use the unstructured grid? The Immersed Boundary method cannot strictly maintain the conservation of flux. That is a key disadvantage. How about the Levet Set method?
Let me start by highlighting that cartesian is not necessarily easier. In fact, for an actual professional code (that is, a sufficiently complex code), the cartesian part easily becomes the largest pain to handle and maintain, besides bloating the code with a lot of unmaintainable indices and triple loops which get copy pasted around a lot.

But, I see what you mean. For a single man, short-term project (or something on a similar scale), cartesian is the easiest way to go, and if you can do some sort of immersed boundary you are also ready to go.

However, as a matter of fact, unstructured grid methods are easier to write and maintain. You need to handle the connectivity, which has a computational cost, but that is a far easier to maintain book keeping part with respect to the cartesian method ones.

Also, IB makes just the same sense on unstructured grids as structured ones. Actually, my very point is to use IB only if an unstructured grid gets close to impossible. The right code would actually mix the two approaches seamlessly. Moreover, cartesian methods have a point in going very high order, but the immersed boundary treatment is at most second order if you want to keep it simpler than actual meshing, thus with no actual requirement for a cartesian grid at all.

Second, while I don't know much of several IB approaches, let me clarify that IB methods can be roughly distinguished in continuous forcing methods (either the original Peskin forcing or VOF like approaches, which need a full grid also inside the body), discrete forcing methods (which, either notionally or practically truncate the grid somewhere and apply interpolated boundary conditions somewhere near the truncation) or cut cell methods (which again, notionally or practically cut the grid in a way to more closely follow the actual geometry, yet not exactly as an unstructured grid generator would).

It is the discrete forcing approach as a whole that has flux leaks at boundaries. It is so because boundary fluxes are a result of interpolation (body fitted methods, instead, explicitly set 0 convective fluxes on walls) and then go into the boundary getting lost. The first category doesn't have this problem because the fluxes naturally rebalance themselves inside the body (not necessarily with accuracy with respect to the body fitted solution). However, the discrete forcing approach has advantages in treating complex boundary conditions and thin surfaces.

I know very little of Level Set IB approahes, but I'm under the impression that they might fall in either the first or second category (maybe even the third), depending from the implementation, with the resulting pros and cons.
sbaffini is offline   Reply With Quote

Old   November 29, 2022, 20:08
Default
  #5
Member
 
Jingchang.Shi
Join Date: Aug 2012
Location: Hang Zhou, China
Posts: 78
Rep Power: 13
aerosjc is on a distinguished road
Thank you for the explanations. Now what I learn is that although IB is able to handle the complex geometry, it has multiple defects. The question I asked is too simple and too general. Only when faced with a specific problem, we can talk about which one is suitable.
aerosjc is offline   Reply With Quote

Old   November 29, 2022, 20:23
Default
  #6
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
Exactly, but let me say that they are limitations more than defects. If your starting point is that you want to solve a problem with approximate boundary conditions (because that's what IB is really about), you must be willing to abandon something for the additional flexibility. There is simply no free lunch.

Sometimes it legitimately makes sense. For example, a very complex geometry that must be analyzed only for some global quantity. Or when you need to run a lot of cases, maybe automatically in an optimization loop, and you certainly don't want to make tens or hundreds of meshes. Or, more importantly, for moving geometries, as originally framed.
aerosjc likes this.
sbaffini is offline   Reply With Quote

Reply

Tags
immersed boundary method, level set, unstructured grid


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Level Set Method and Immersed Interface Method mykkujinu2201 Main CFD Forum 2 August 5, 2017 12:31
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
two questions about the Immersed Boundary method cyou Main CFD Forum 1 September 21, 2012 04:32
Immersed Boundary Ghost Cell Method thehexman Main CFD Forum 1 February 5, 2010 06:10


All times are GMT -4. The time now is 17:05.