Contrib/funkySetFields

From OpenFOAMWiki
< Contrib
Revision as of 21:44, 29 September 2007 by Yo8Tne (Talk | contribs)

queen kelly Goku nudo gatto con gli stivali oktife.info Tette in spiaggia flight bee Hotel manchester Download gratis di marce militari monitor r300 Hapimag hotel a strasburgo dp 508 metro san donato milanese Gwen stefani fake ratoba.info le lacrime amare di petra von kant midland coppia testo canzone fuck you right back penna china Oroscopo toro domani profumi donna dolce e gabbana Di divertirmi opel corsa roma mannu riu- Escort gay america oktife.info baywatch girls Bangbros cum divx 10 100 jeff buckly midi di annai 60 Foto di tette in spiaggia printer board n1 lettore cd hi-fi appartamento mare Garelli vip varese donne oxernel.info don omar cuentale Slave sex hay que llorar il pacco di harry potter Foto figa bagnata sidoti francesco Immersione Fiche pelose gratis volantini stampa tastiere palmari aos - time zone conversion component 10 Inculate bestiali page link Lovette oktife.info breathe easy dei blu Tettone grasse lebasee link pyrrena.info oxernel.info Accessorio palmare auto tomtom oktife.info Insalata riso lc mem01 005 firmware lg dv Catalogo aviomar Csa roma Goku e chichi Giovane fiche page fantasmi a roma Bakeka bologna map Vecchie e troie canzoni popolari salentine no soy gay Temi per n73 Anteprima video gratis hot wheels extreme racing ratoba.info Porche donne office sbe Giardino giapponese portland oregon camper usato torino analisi tecnica borsa i favolosi anni 70 map sistema wireless per casse giovanna darco in fotografia Giovani culi Cornicette clipart ratoba.info morini eros chat los tigre del norte ratoba.info Final fantasy porno terme fango Tariffa migliore hotel bucarest Hotel fontemaggio assisi exploitedmoms com Enel gas numero verde Anteprime video sesso usb joypad Allevare i canarini powmeny.info laura pausini it Polski nuda www u n i c e f Porno cicciolina map futuro oroscopo Porno con animali cicciolina teen fuck pics Insertion anal irresistibilmente pinne cressi sub Filmini xxx gratis sestri ponente Fighe more sneakers donna Poesie in tedesco sullamore annuncio privato donna Immagini simpson porno Aurora snow ass worship my cake kozidrak motown song emil jannings frase d addio Luiss it Crena iodase complex 200ml dimensioni last minut crociere pra milano Scopata amatoriale Stretched pussy foto de porno www subete com Araba fenice www vulcani it Cd vergini logitech momo racing force feedback map Agriturismo casentino romagna colori e parati a napoli dvd recorder lg 80 gb murano napoli Foto adolescenti hard disk cooler 7200 rpm wallpaper de zion y lenox Ashley tisdale Anteprima filmino porno natalino so comfused un video due artwork e cinque immagini per the warriors miranda di tinti brass bionic commando Foto uomini nudi amatoriali Borse fendi Cardellino moto guzzi main Bus bang forno nardi da cm 90 Secondamano com nebra powmeny.info hd 400gb sata Adultfriendfinder Foto gratis di madri hard ups ciabatta combinato dvd vhs divx Animale origamo libro solo di trucchi soluzione ps2 Coccodrillo fa Foto fighe depilate angiopteris batteria sgh s300 index Autismo infantile libro Scaldabagno elettrico Lega basket femminile immagini della natura Bontempi impianto origem da musica pop omestlo.info main crime life gang wars Fumetti xxx dragonball Alessia marcuzzi it Spartito per chitarra classica www barba dimensione violenza lm finishing systems srl Frogsexcom Donne spiate gratis x s drive distributore automatico bibita chateau Valid versions: OF version 13.png OF version 14.png


1 Short description

This utility sets the value of a scalar or a vector field depending on an expression that can be entered via the command line or a dictionary. It can also be used to set the value of fields on selected patches. It's like the setFields-utility on steroids.

It can be used to set non-uniform intial-conditions without programming.

This utility is provided as-is and is a permanent Beta-Version (but it works fine for me, if it doesn't for you: tell me about it and I'll see what the problem is)

1.1 Words of warning

This utility can save you the work to program your own utility to set initial-conditions, but

  • you should be familiar with the C expression syntax
  • it makes it easier to 'shoot yourself in the foot' (do stupid things)
  • especially for large cases a custom-made utility might be more efficient

(it's like a Swiss Army Knife: useful for a lot of things, but not necessarily the best tool for these tasks)

2 Pre-requisites

To compile this utility at least version 2.1 of Bison has to be installed. Check with

bison -V

on the command line before trying to compile it.

2.1 For those who don't have bison 2.1

It has been brought to my attention that there are a lot of people that still have to live with 1.x bisons. For those there is a script provided that inserts the generated sources. Just go to the source directory and call

./insertGenerated.sh

It copies the generated files to the directory and modifies Make/files

3 Usage

The utility can be used from the command line or with a dictionary. In both forms an option -time is needed to select the time step.

3.1 Basic ommand line usage

This mode is selected if the -field option is used to select a target field. If the target doesn't yet exist the option -create has to be added.

In addition an option -expression is needed with the expression that is to be written to the target field (Syntax see below).

An optional option is -condition: only cells for which this expression evaluates to true are overwritten with the expression. For all other cells the old value is kept.

expression and condition should be enclosed in quotes to keep the shell from interpreting special characters.

An example of the usage would be:

funkySetFields . cavity -field U -expression '(grad(dist())^vector(0,0,-1))*mag(pos()-vector(0.05,0.05,0))/0.05'  -time 0 

This sets the velocity field to a 'circle' around the center. In the most simple case the velocity field can be set to zero

funkySetFields . cavity -field U -expression 'vector(0,0,0)' -time 0

Same for the pressure field:

funkySetFields . cavity -field p -expression '0' -time 0

The damBreak-tutorial could be initialized with

funkySetFields . damBreak -time 0 -field gamma -expression " pos().x <= 0.1461