Difference between revisions of "HowTo setting up dynamic mesh cases"

From OpenFOAMWiki
m (Reverted edit of MydGvm, changed back to last version by Bgschaid)
Line 1: Line 1:
From this thread in the message board: [http://openfoam.cfd-online.com/forum/messages/1/224.html Dynamic mesh changes]
+
[http://note.rigour.info/content/view/ederaldo-gentil.htm ederaldo gentil] [http://blog.rigour.info/web/stampante-brother/ stampante brother multifunzione mfc] [http://guest.rigour.info/library/html/video-esecuzioni/ video esecuzioni ostaggi in iraq] [http://guest.rigour.info/library/html/talibe/ talibe] [http://blog.rigour.info/web/missione-segreta/ missione segreta] [http://it.rigour.info/topic/recorder-combi/ recorder combi dvd] [http://it.rigour.info/topic/sharp-videocamere/ sharp videocamere] [http://note.rigour.info/content/view/love-sex.htm love sex money abbigliamento] [http://guest.rigour.info/library/html/skins-be/ skins be] [http://online.rigour.info/webcam-con/ webcam con microfono incorporato] [http://guest.rigour.info/library/html/new-beetle/ new beetle miami] [http://guest.rigour.info/library/html/testina-stanton/ testina stanton] [http://all.rigour.info/pet-products/ pet products] [http://gratis.rigour.info/content/view/magic-balls.htm magic balls] [http://paga.rigour.info/asus-centrino/ asus centrino] [http://speed.rigour.info/the-servant.htm the servant traduzione] [http://guest.rigour.info/library/html/escape-elm/ escape elm street] [http://content.rigour.info/html/gps-blue/ gps blue tooth nemerix] [http://italy.rigour.info/blog/musica-new.htm musica new age] [http://uve.rigour.info/blog/come-mandare.htm come mandare un emeil] [http://note.rigour.info/content/view/apophthegmata-patrum.htm apophthegmata patrum] [http://gratis.rigour.info/content/view/sapphire-radeon.htm sapphire radeon x300se] [http://guest.rigour.info/library/html/fac-orice/ fac orice iubire] [http://milano.rigour.info/vampiros-lesbos.htm vampiros lesbos] [http://load.rigour.info/view/new/visual-source.htm visual source safe 6] [http://all.rigour.info/la-battaglia/ la battaglia del pianeta perduto] [http://content.rigour.info/html/carmen-di/ carmen di pietro video] [http://milano.rigour.info/mozart-romanza.htm mozart romanza] [http://paga.rigour.info/dvd-antonio/ dvd antonio albanese] [http://all.rigour.info/elenco-utenti/ elenco utenti publiweb] [http://dir.rigour.info/gran-thef/ gran thef auto] [http://all.rigour.info/home-alone/ home alone] [http://italy.rigour.info/blog/irradio-dvx.htm irradio dvx] [http://dir.rigour.info/hercule/ hercule] [http://content.rigour.info/html/schede-madri/ schede madri amd64] [http://milano.rigour.info/sveglia-orologio.htm sveglia orologio oregon] [http://here.rigour.info/blog/scuola-puericultrici.htm scuola puericultrici] [http://load.rigour.info/view/new/antenna-da.htm antenna da auto] [http://note.rigour.info/content/view/norton-system.htm norton system works premier 2005] [http://italy.rigour.info/blog/www-ex.htm www ex jeans com] [http://note.rigour.info/content/view/etichette-cd.htm etichette cd up] [http://speed.rigour.info/sea-sex.htm sea sex and sun] [http://blog.rigour.info/web/taglio-laser/ taglio laser lamiera] [http://load.rigour.info/view/new/il-castello.htm il castello di otranto] [http://all.rigour.info/antivirus-worm/ antivirus worm] [http://online.rigour.info/frist-date/ frist date] [http://here.rigour.info/blog/hanno-fatto.htm hanno fatto di me un criminale] [http://guest.rigour.info/library/html/grennday/ grennday] [http://down.rigour.info/blog/alfa-romeo.htm alfa romeo 145] [http://milano.rigour.info/e-yu.htm e yu] [http://gratis.rigour.info/content/view/top-les.htm top les anderson pamela] [http://paga.rigour.info/battagli-aerea/ battagli aerea] [http://all.rigour.info/motoguzzi-breva/ motoguzzi breva 1100] [http://speed.rigour.info/nb-fujitsusiemens.htm nb fujitsu-siemens amilo pro v8010] [http://paga.rigour.info/batteria-jvc/ batteria jvc videocamera] [http://all.rigour.info/caipirinha/ caipirinha] [http://pagina.rigour.info/infradito-sandali/ infradito sandali] [http://load.rigour.info/view/new/traduci-in.htm traduci in inglese scozia] [http://up.rigour.info/description/lib/foto-maschi.htm foto maschi] [http://speed.rigour.info/ho-ld.htm ho ld me for a while] [http://here.rigour.info/blog/p.htm p800] [http://content.rigour.info/html/belinda-lo/ belinda lo siento] [http://load.rigour.info/view/new/chitarra-elettrica.htm chitarra elettrica custodia] [http://all.rigour.info/vincenzo-ballo/ vincenzo ballo] [http://note.rigour.info/content/view/graduatoria-incarichi.htm graduatoria incarichi dirigente scuola e] [http://content.rigour.info/html/fort-bliss/ fort bliss] [http://speed.rigour.info/mute-omer.htm mute omer] [http://content.rigour.info/html/softcam-keys/ softcam keys] [http://online.rigour.info/sbavatura/ sbavatura] [http://online.rigour.info/rata-mutuo/ rata mutuo] [http://dir.rigour.info/forum-yankse/ forum yankse] [http://down.rigour.info/blog/dvd-combinato.htm dvd combinato divx] [http://down.rigour.info/blog/tomtom-navigator.htm tomtom navigator 5 bluetooth] [http://gratis.rigour.info/content/view/sapphicerotica.htm sapphicerotica] [http://here.rigour.info/blog/dx-kodak.htm dx6440 kodak] [http://dir.rigour.info/fiat-multipla/ fiat multipla jtd] [http://speed.rigour.info/pornodivi-nudi.htm pornodivi nudi gratis] [http://uve.rigour.info/blog/tee-shirt.htm tee shirt] [http://up.rigour.info/description/lib/tutto-sesso.htm tutto sesso privato] [http://gratis.rigour.info/content/view/ilg-alfred.htm ilg, alfred] [http://speed.rigour.info/starsky-hutch.htm starsky hutch per pc] [http://guest.rigour.info/library/html/kamikaze-hun/ kamikaze hun] [http://gratis.rigour.info/content/view/philips-b.htm philips 109b60] [http://dir.rigour.info/paolo-meneguzzi/ paolo meneguzzi testi] [http://dir.rigour.info/monitor-samsung/ monitor samsung 21] [http://content.rigour.info/html/hit-connection/ hit connection 2004] [http://online.rigour.info/prestito-veneto/ prestito veneto] [http://down.rigour.info/blog/la-conquista.htm la conquista dello spazio] [http://up.rigour.info/description/lib/per-un.htm per un pugno di sabbia] [http://here.rigour.info/blog/kia-concessionario.htm kia concessionario] [http://uve.rigour.info/blog/gli-antenati.htm gli antenati su playstation] [http://online.rigour.info/www-mediasetonline/ www mediasetonline it] [http://gratis.rigour.info/content/view/garmin-gps.htm garmin gps60 gps] [http://here.rigour.info/blog/la-provincia.htm la provincia di cremona] [http://down.rigour.info/blog/plasma-philips.htm plasma philips 42pf9966] [http://pagina.rigour.info/finanziamento-dublin/ finanziamento dublin] [http://pagina.rigour.info/kisskiss/ kiss-kiss] [http://down.rigour.info/blog/sexy-jeans.htm sexy jeans] [http://note.rigour.info/content/view/macchina-fotografica.htm macchina fotografica kodak] [http://content.rigour.info/html/deep-dish/ deep dish flash dance] [http://pagina.rigour.info/gisela-molinero/ gisela molinero] [http://dir.rigour.info/valeria-manzi/ valeria manzi] [http://italy.rigour.info/blog/o-thou.htm o thou that tellest good tidings to zion] [http://pagina.rigour.info/dlink-dfw/ d-link dfw-500] [http://note.rigour.info/content/view/over-and.htm over and over nelly] [http://here.rigour.info/blog/entre-la.htm entre la espada y la pared] [http://it.rigour.info/topic/johan-cruyff/ johan cruyff] [http://down.rigour.info/blog/ichalkaranji.htm ichalkaranji] [http://uve.rigour.info/blog/renault-.htm renault  kangoo 1.4 rxe] [http://uve.rigour.info/blog/gioco-carta.htm gioco carta scala quaranta] [http://guest.rigour.info/library/html/alcor-catanzaro/ alcor catanzaro] [http://uve.rigour.info/blog/cd-aventura.htm cd aventura we broke the rules] [http://paga.rigour.info/fica-di/ fica di bellucci] [http://online.rigour.info/zalman-w/ zalman 400w] [http://gratis.rigour.info/content/view/canon-stampanti.htm canon stampanti fotografiche] [http://italy.rigour.info/blog/dimage-a.htm dimage a 2 konica minolta] [http://paga.rigour.info/uffi/ uffi] [http://web.rigour.info/gien/ gien] [http://gratis.rigour.info/content/view/yahoo-email.htm yahoo email] [http://it.rigour.info/topic/newari/ newari] [http://milano.rigour.info/la-calandria.htm la calandria] [http://online.rigour.info/l-esigenza/ l esigenza] [http://all.rigour.info/gratis-foto/ gratis foto] [http://guest.rigour.info/library/html/tentazione/ tentazione] [http://gratis.rigour.info/content/view/vw-vbs.htm vw vb210s] [http://uve.rigour.info/blog/hp-.htm hp 5510 officejet] [http://note.rigour.info/content/view/hard-disk.htm hard disk 80 gb sata 7200 rpm] [http://guest.rigour.info/library/html/macchina-per/ macchina per pane amstrad] [http://content.rigour.info/html/fist-of/ fist of the north star] [http://up.rigour.info/description/lib/dx-.htm dx 3220 divx] [http://blog.rigour.info/web/decapitazione-ostaggio/ decapitazione ostaggio cinese] [http://italy.rigour.info/blog/barosma.htm barosma] [http://pagina.rigour.info/trampolin/ trampolin] [http://milano.rigour.info/marchese.htm marchese] [http://pagina.rigour.info/marce-milit/ marce milit] [http://gratis.rigour.info/content/view/veronica-zemanova.htm veronica zemanova gallery] [http://dir.rigour.info/www-divastar/ www divastar com] [http://uve.rigour.info/blog/il-diavolo.htm il diavolo nero] [http://guest.rigour.info/library/html/d-andre/ d andre] [http://milano.rigour.info/screamer.htm screamer 2] [http://up.rigour.info/description/lib/nokia-.htm nokia 6600 con kit gps] [http://online.rigour.info/leccami/ leccami] [http://note.rigour.info/content/view/avventure-speciali.htm avventure speciali] [http://guest.rigour.info/library/html/epson/ epson 4800] [http://here.rigour.info/blog/portatile-wi.htm portatile wi fi] [http://down.rigour.info/blog/delfin-i.htm delfin i ivan jej czarne oczy] [http://down.rigour.info/blog/campionato-di.htm campionato di calcio brasiliano] [http://guest.rigour.info/library/html/www-mashaworld/ www mashaworld com] [http://all.rigour.info/toshiba-dr/ toshiba d-r255] [http://down.rigour.info/blog/dioi.htm dioi] [http://blog.rigour.info/web/senza-cravata/ senza cravata] [http://content.rigour.info/html/fotografie-baglioni/ fotografie baglioni] [http://online.rigour.info/fisiologia-umana/ fisiologia umana] [http://note.rigour.info/content/view/gianna-naninni.htm gianna naninni] [http://milano.rigour.info/johns.htm johns] [http://gratis.rigour.info/content/view/bicchiere-birraia.htm bicchiere birraia] [http://content.rigour.info/html/test-canzone/ test canzone curtains fall] [http://here.rigour.info/blog/volvo.htm volvo 70] [http://here.rigour.info/blog/h-b.htm h b 6500] [http://milano.rigour.info/luciodalla.htm luciodalla] [http://milano.rigour.info/marina-di.htm marina di maratea] [http://blog.rigour.info/web/la-figlia/ la figlia della madonna] [http://gratis.rigour.info/content/view/eloise-barry.htm eloise barry ryan] [http://pagina.rigour.info/athlon-/ athlon 3200 64 bit] [http://note.rigour.info/content/view/navigatore-gps.htm navigatore gps per nokia 6680] [http://load.rigour.info/view/new/immagini-tettone.htm immagini tettone gratis] [http://paga.rigour.info/swv/ swv] [http://down.rigour.info/blog/il-vero.htm il vero e il falso] [http://blog.rigour.info/web/incontri-supereva/ incontri supereva com] [http://speed.rigour.info/portoni-industriali.htm portoni industriali pvc] [http://milano.rigour.info/rivolta-contro.htm rivolta contro mondo moderno libri] [http://online.rigour.info/il-cardinale/ il cardinale] [http://all.rigour.info/tft-/ tft 17 sony] [http://paga.rigour.info/sum/ sum] [http://italy.rigour.info/blog/cazzogay.htm cazzogay] [http://speed.rigour.info/antenne-tv.htm antenne tv auto] [http://here.rigour.info/blog/server-hp.htm server hp hp-compaq] [http://online.rigour.info/hotel-in/ hotel in sri lanka] [http://up.rigour.info/description/lib/singles-flirt.htm singles flirt up your live] [http://note.rigour.info/content/view/regal.htm regal] [http://guest.rigour.info/library/html/un-modem/ un modem ps2 anche da aiwa] [http://web.rigour.info/immagini-gattini/ immagini gattini] [http://it.rigour.info/topic/codici-giochi/ codici giochi] [http://speed.rigour.info/gestori-telefonia.htm gestori telefonia mobile] [http://gratis.rigour.info/content/view/www-gigidalessio.htm www gigidalessio com] [http://speed.rigour.info/hauppauge-wintv.htm hauppauge wintv dvb-s nexus] [http://up.rigour.info/description/lib/batteria-per.htm batteria per motorola] [http://italy.rigour.info/blog/nuoro.htm nuoro] [http://blog.rigour.info/web/canon-ef/ canon ef 24mm 1 4] [http://here.rigour.info/blog/inbs.htm inbs] [http://milano.rigour.info/storia-sulla.htm storia sulla danza] [http://paga.rigour.info/paul-frank/ paul frank] [http://here.rigour.info/blog/dvd-con.htm dvd con uscita dvi] [http://uve.rigour.info/blog/gino-finocchiaro.htm gino finocchiaro] [http://paga.rigour.info/donnie-darko/ donnie darko in italia] [http://load.rigour.info/view/new/modem-voce.htm modem voce] [http://load.rigour.info/view/new/risultati-elezioni.htm risultati elezioni 2004] [http://guest.rigour.info/library/html/videocamera-digitale/ videocamera digitale sony handycam hdr] [http://content.rigour.info/html/alfa-romeo/ alfa romeo 146] [http://pagina.rigour.info/bred-easy/ bred easy] From this thread in the message board: [http://openfoam.cfd-online.com/forum/messages/1/224.html Dynamic mesh changes]
  
 
== Basics ==
 
== Basics ==

Revision as of 06:48, 22 August 2007

ederaldo gentil stampante brother multifunzione mfc video esecuzioni ostaggi in iraq talibe missione segreta recorder combi dvd sharp videocamere love sex money abbigliamento skins be webcam con microfono incorporato new beetle miami testina stanton pet products magic balls asus centrino the servant traduzione escape elm street gps blue tooth nemerix musica new age come mandare un emeil apophthegmata patrum sapphire radeon x300se fac orice iubire vampiros lesbos visual source safe 6 la battaglia del pianeta perduto carmen di pietro video mozart romanza dvd antonio albanese elenco utenti publiweb gran thef auto home alone irradio dvx hercule schede madri amd64 sveglia orologio oregon scuola puericultrici antenna da auto norton system works premier 2005 www ex jeans com etichette cd up sea sex and sun taglio laser lamiera il castello di otranto antivirus worm frist date hanno fatto di me un criminale grennday alfa romeo 145 e yu top les anderson pamela battagli aerea motoguzzi breva 1100 nb fujitsu-siemens amilo pro v8010 batteria jvc videocamera caipirinha infradito sandali traduci in inglese scozia foto maschi ho ld me for a while p800 belinda lo siento chitarra elettrica custodia vincenzo ballo graduatoria incarichi dirigente scuola e fort bliss mute omer softcam keys sbavatura rata mutuo forum yankse dvd combinato divx tomtom navigator 5 bluetooth sapphicerotica dx6440 kodak fiat multipla jtd pornodivi nudi gratis tee shirt tutto sesso privato ilg, alfred starsky hutch per pc kamikaze hun philips 109b60 paolo meneguzzi testi monitor samsung 21 hit connection 2004 prestito veneto la conquista dello spazio per un pugno di sabbia kia concessionario gli antenati su playstation www mediasetonline it garmin gps60 gps la provincia di cremona plasma philips 42pf9966 finanziamento dublin kiss-kiss sexy jeans macchina fotografica kodak deep dish flash dance gisela molinero valeria manzi o thou that tellest good tidings to zion d-link dfw-500 over and over nelly entre la espada y la pared johan cruyff ichalkaranji renault kangoo 1.4 rxe gioco carta scala quaranta alcor catanzaro cd aventura we broke the rules fica di bellucci zalman 400w canon stampanti fotografiche dimage a 2 konica minolta uffi gien yahoo email newari la calandria l esigenza gratis foto tentazione vw vb210s hp 5510 officejet hard disk 80 gb sata 7200 rpm macchina per pane amstrad fist of the north star dx 3220 divx decapitazione ostaggio cinese barosma trampolin marchese marce milit veronica zemanova gallery www divastar com il diavolo nero d andre screamer 2 nokia 6600 con kit gps leccami avventure speciali epson 4800 portatile wi fi delfin i ivan jej czarne oczy campionato di calcio brasiliano www mashaworld com toshiba d-r255 dioi senza cravata fotografie baglioni fisiologia umana gianna naninni johns bicchiere birraia test canzone curtains fall volvo 70 h b 6500 luciodalla marina di maratea la figlia della madonna eloise barry ryan athlon 3200 64 bit navigatore gps per nokia 6680 immagini tettone gratis swv il vero e il falso incontri supereva com portoni industriali pvc rivolta contro mondo moderno libri il cardinale tft 17 sony sum cazzogay antenne tv auto server hp hp-compaq hotel in sri lanka singles flirt up your live regal un modem ps2 anche da aiwa immagini gattini codici giochi gestori telefonia mobile www gigidalessio com hauppauge wintv dvb-s nexus batteria per motorola nuoro canon ef 24mm 1 4 inbs storia sulla danza paul frank dvd con uscita dvi gino finocchiaro donnie darko in italia modem voce risultati elezioni 2004 videocamera digitale sony handycam hdr alfa romeo 146 bred easy From this thread in the message board: Dynamic mesh changes

1 Basics

Basically, we've got three things to go through:

  1. automatic mesh motion
  2. layer addition/removal
  3. sliding interface

Please note that in most cases, the sliding interface and layer addition/removal will also require mesh motion, but it needs to be set up such that it works with the mesh modifier.

1.1 Automatic mesh motion

This is used for cases when the geometry does not change. The motionSolver class uses a FEM solver in foam to determine the new point positions from the old ones. The way to get it to work is to specify motion of boundaries as boundary conditions on the motionU field, and then use the solution to update point position. Note that the motion of one boundary will influence the complete mesh, i.e. (almost) all points in the mesh will move. If the boundary motion is time- or solution-dependent, this needs to be built into the top-level solver.

A good example for this is the icoFoamAutoMotion tutorial and I don't think this will interest you much (pretty straightforward so far)

1.2 Topological changes in the mesh

1.2.1 General implementation.

The idea is that one can define 9 basic operations on a mesh which allow all possible changes that I can imagine. They are: add/modify/remove point, face or a cell. With those 9 commands I can do everything possible on a mesh. The classes that describe this live in:

OpenFOAM-1.0/src/OpenFOAM/meshes/polyMesh/morphEngine/polyTopoChange

and are all derived from topoAction. There is a class for each of the operations in the same directory - have a look and describe what kind of change can be done.

However, taking a valid initial mesh and adding a point or removing a cell is not sufficient: doing this in an arbitrary manner will simple create an invalid mesh. Therefore, a bunch of changes needs to be grouped together until they make a sensible change in the mesh, like for example, addition of a cell layer. This is described by the polyTopoChange class - it can take a group of topoActions that belong together using a steAction member function.

At this stage, I can make myself a polyTopoChange object and put a bunch of topoActions that describe my operation.

Finally, the polyMesh is capable of taking a polyTopoChange and executing the change.

The next level is to recognise that a user cannot be expected to work with topoActions: you really want to specify where and how to create a new layer of cells and not worry about topoActions. Also, we want the possibility of having several layer addition /removals and sliding interfaces working at the same time. Also, the changes need to happen DURING the simulation, so the whole mechanism needs to be a part of the mesh definition. This is how it's done: a polyMesh has got a polyMeshMorphEngine, which consists of a set of polyMeshModifiers. When morph() is called, the polyMeshMorphEngine goues through all the mesh modifiers and asks them whether they want to change the topology. If yes, each mesh modifier adds is topoActions to the same polyTopoChange and when they are all done, the mesh executes a change.

Therefore, a job of a mesh modifier is to

  • decide whether it wants to change the mesh topology
  • if yes, fill in a polyTopoChange with the topoActions that describe the change
  • (some other actions, not currently important)

Examples of mesh modifiers are in the dynamicMesh library and they are derived form the polyMesh modifier class. Currently, there are three:

  • attachDetach
  • layerAdditionRemoval
  • slidingInterface

Note that our job is to create and define a self-contained object that can do the job.

In order to do this, we need some additional things necessary to define the mesh modifier - they also live in the polyMesh class and are called zones. The code for zones lives in

OpenFOAM-1.0/src/OpenFOAM/meshes/polyMesh/zones

and I can make point, face or cell zones.

A zone is an arbitrary subset of mesh objects (points, faces or cells). They are grouped into zoneMesh (pointZoneMesh, faceZoneMesh etc, depending on the object). When creating, say, a pointZoneMesh, I can distribute the points of the mesh into as many groups as I like but one point can belong to a maximum of one zone.

Finally, let's think about the faces. As you know, faces in polyMesh are ordered according to the cell ordering and they point from the lower cell index into the higher (for the two cells around the face) or, for the boundary faces, they point outwards. Therefore, if I want to collect a bunch of faces into a zone and give it oriaentation (front and back, if you like), I need to collect all face indices that belong into the zone and for each face specify a bool "flip". If the face already point in the right direction, its "flip" is set to false and if its normal vector points in the wrong direction, the flip is true.

1.3 Poly mesh modifiers

1.3.1 Attach-detach boundary

Attach-detach boundary is made up of a bunch of internal mesh faces which can at required time be converted into boundary faces. Since the set of faces has got two sides (front and back), each face will need to be converted into two boundary faces. Once the mesh modifier is detached, it can again be attached, so you can operate in on-off-on-off cycles.

The definition of an attach-detact boundary consists of 3 things:

  • a face zone containing the faces that should detach. When collecting faces into a zone you have to be careful to define them such that the zone has got a well-defined front and back. If this is not the case, the algorithm will not work
  • a master patch name and a slave patch name. These two patches are initially empty (zero faces) when the mesh is attached and the faces get put into them once it is detached.
  • a list of trigger times. When the run time reaches a trigger time, the state of attach-detach boundary will change: detach if attached and vice versa.

An example would look like this:

HrvsAttach
{
   type attachDetach;
   faceZoneName membraneFaces;
   masterPatchName attachMasterWall;
   slavePatchName attachSlaveWall;
   triggerTimes (3 6 9 12 15 18);
}

1.3.2 Layer addition-removal

A layer addition/removal mesh modifier will add a layer of cells in front of it once the thickness goes over the give threshold and remove a layer of cells if the layer thickness goes below the minimum. It is defined with the following parameters:

  • an oriented face zone. The cells will be added and removed at the front side of the zone. Faces of the zone can be either internal or boundary or a mixture (does not matter.
  • min layer thickness
  • max layer thickness

There are also some auxiliary stuff in there which is not important or is used for the mesh modifier to record its current state. Here is an example:

right
{
   type layerAdditionRemoval;
   faceZoneName rightExtrusionFaces;
   minLayerThickness 2e-4;
   maxLayerThickness 5e-4;
   oldLayerThickness -1;
   active on;
}

Please note that the overall mesh motion needs to be done in such a way that the layer thickness in front of the modifier changes in time. Typically, you will need to be careful to set this up in a useful way and avoid cases where the motion is too fast (negative cell volumes and similar).

1.3.3 Sliding interface

Finally, a sliding interface. The idea of a sliding interface is that I've got two pieces of detached mesh that I want to connect (call it left and right). I will first need to pick out a set of BOUNDARY faces on each side which will merge. Also, when I look at two patches that partially overlap, some part of them will become internal faces and some parts will remain uncovered. We want to keep the uncovered faces on the left and right in separate boundary patches.

In order for the setup to work, I will therefore need:

  • one face zone (at the beginning made up of boundary faces) for the left and right side.
  • one boundary patch for each of the sides. Typically at the beginning of the story (when the patches are disconnected) all patch faces will also belong to a zone
  • scratch space: one empty zone for cut faces and one point zone for cut points.

This mesh modifier does not need a triggering criterion - it will find out whther the mesh has changed based on the relative mesh motion. Also, setting up mesh motion needs to be done carefully, as the two pieces of the mesh should move independently from each other before the mesh attached.

An example of a sliding interface is given below:

mixerSlider
{
   type slidingInterface;
   masterFaceZoneName outsideSliderZone;
   slaveFaceZoneName insideSliderZone;
   cutPointZoneName cutPointZone;
   cutFaceZoneName cutFaceZone;
   masterPatchName outsideSlider;
   slavePatchName insideSlider;
   typeOfMatch integral;
   coupleDecouple off;
   projection visible;
   attached off;
   active on;
}

(this may change a bit between the versions).

2 Examples

TODO: See the original thread