CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

About the cutcell approach

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mattijs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2005, 00:38
Default Currently I am working on the
  #1
chen_jun
Guest
 
Posts: n/a
Currently I am working on the bubble dynamics with OpenFoam. I want to use a fixed-grid, sharp-interface method for it. Is it difficult to implement a cut-cell approach for moving boundary in OpenFoam? Please give me some suggestion, thanks very much.
  Reply With Quote

Old   September 7, 2005, 08:43
Default Is there any class that I can
  #2
chen_jun
Guest
 
Posts: n/a
Is there any class that I can deal with just one or two cells? For example, I want to cut a cell by a plane or merge two adjoining cells.
  Reply With Quote

Old   September 7, 2005, 08:56
Default Hi Chen, you can cut cells an
  #3
Member
 
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17
lucchini is on a distinguished road
Hi Chen,
you can cut cells and deal with moving boundary by means of the mesh modifiers implemented in OpenFoam.
Have a look at the $FOAM_SRC/topoFvMeshes, $FOAM_TUTORIALS/icoTopoFoam and $FOAM_APP/incompressible/icoTopoFoam

If you want only to move boundaries without changing the mesh topology you can have a look at how the mesh is moved in the movePiston.H file in the $FOAM_SRC/engine/include

You can also find something useful in the discussion group, have a look to the "Dynamic Mesh Changes" topic in the tree view.

bye
tommaso
lucchini is offline   Reply With Quote

Old   September 8, 2005, 06:46
Default Hi Chen, Cut cell by plane:
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Hi Chen,

Cut cell by plane: the closest example is the mesh/advanced/refineWallLayer. Defines cut through cells by the cut through the edges and/or vertices.

Merge two adjoining cells: mesh/advanced/removeFaces
hua1015 likes this.
mattijs is offline   Reply With Quote

Old   September 8, 2005, 08:09
Default Thank you! I have tried the c
  #5
chen_jun
Guest
 
Posts: n/a
Thank you!
I have tried the class cellCuts and it seems to work.
  Reply With Quote

Old   September 8, 2005, 08:30
Default Would be quite interested to s
  #6
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Would be quite interested to see some examples if you have something working.
mattijs is offline   Reply With Quote

Old   September 8, 2005, 09:28
Default http://www.cfd-online.com/Open
  #7
chen_jun
Guest
 
Posts: n/a

  Reply With Quote

Old   September 12, 2005, 13:36
Default I have generated a uniform 2-D
  #8
chen_jun
Guest
 
Posts: n/a
I have generated a uniform 2-D mesh using blockMesh. Then I used the removeFaces to merge two adjoining cells by adding the adjoining face into the faceSet. But I got an error message "XXXX face is not internal". Can you tell me why?
Thank you very much for your kind reply!
  Reply With Quote

Old   September 12, 2005, 14:44
Default Are you sure the faces you're
  #9
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Are you sure the faces you're trying to remove are internal (i.e. inbetween two cells)? Use foamToVTK with the -faceSet option to display them.
mattijs is offline   Reply With Quote

Reply


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
Lagrangian Approach Biswajit Sarkar Main CFD Forum 9 January 25, 2013 09:31
Lagrangian Approach Biswajit Sarkar Main CFD Forum 3 August 4, 2005 14:42
Equilibrium approach. Fire Man. Main CFD Forum 9 September 7, 2004 12:32
Tell me better approach? zahid FLUENT 0 March 10, 2003 05:55
novel approach David Main CFD Forum 0 October 31, 2000 23:24


All times are GMT -4. The time now is 10:57.