Contrib/funkySetFields

From OpenFOAMWiki
< Contrib
Revision as of 12:26, 27 September 2007 by Yo8Tne (Talk | contribs)

Acoweb Alessandro magno Video cartoni sexy Gay hentai congiura di spie una data per ace combat 4 Belle casalinghe emule 2 victoria silvested tego calderon guasa guasa in saecula saeculorum calciomercato 2004 Fotoracconti gay Alloggi suore gemelli Cum face auto 3 porte jabra bt800 bluetooth Ampland download winzip Donne sesso cavalli Sborra in faccia frasi romantica inglese Animal sex video gratis Emoticon erotiche linksys wap54geu costruire macchine Disegni disney colorati Enterococcus faecalis Decoupage carte Video di masturbazione maschile mimoza www laburra com Luana borgia Donne troie video Scopate amatoriali volo san gimignano pagro site Scaricare musica italiana Rancid fall back down suoneria stay url Video porno estremi cocki.info www cinestar it Foto casalinghe troie Vecchie mamme troie Nere tettone teatro nazionale milano caern providance benq dc e43 Congresso hotel site Porno russe Www lambertucci it x800gto 256 cover cd audio renato zero Dragonball hentay Foto sailormoonxxx basi a chi mi dice musica italiana midi calzature per donna www playboy com br Melita toniolo naked i don t wanna know puff daddy Foto transessuali epson epln2750 Sakura hentay biglietti roma ramazzotti tok car audio mp3 usb dscp200 memory h i t Donne sexy home caldonazzo Trailers gratis porno Sborra calda url home site homepage Profumo donna Climatizzatore fujiko neugries it site Frasi compleanno 50 anni Roulotte torino i giganti della tessaglia mircea Anteprima video lesbo el palenque Super sesso gratizit.info courier www play boy com cenerentola innamorata masini Porno sex video Frasi di compleanno Motel agip bari page Bestannunciit Concessionaria toyota piemonte nick berg video decapitazione terratec altoparlanti Cazzo gay in culo porno Carrello tenda montana usato societa italiana sterilizzazione Orlando green meadows petting farm traduzione della canzone don t tell me Foto donne mature grasse site pastiglie moto dead to Racconti veri sesso Autonoleggio grosseto Ereditarieta gruppo sanguigno chio snake me encantas nena forex pco Eva robins nuda wireless usb 54 te dejo libre Transex it fk it di eamon Registrazione nuovo account msn hornet 600 2004 morwa dla s Sesso collant poeti romantici e luna Troie a grosseto Elena santarelli nuda map Escort bpadova video il nome dell amore paolo meneguzzi Www pornomotore it Tatuaggio fata pipe di schiuma club hardball com Scuola danza marche Volo svezia gothenburg saeve mio fratello fuma tailleur donna bianco online auctions uk mas alla de los philips videoproiettore Foto gratis uomini nudi Sakura porno index roms free download philips 14 sambhar tj mahal Troie cinesi trucco pokemon verde foglia Calendario uomini nudi Porno animali Sexy segretarie appunti scuola link rammstein asche zu asche Www giochi winx it Scopare Foto nude rubate vendite all asta Scarpa adidas bambino kvm hp 8 Storie cuckold Contraccezione pillola Hotel benessere toscana Tuir better word spazio web libero rs 232 palmari Grandi cazzi Prestito oristano online Riassunto odissea matia soy de aragon Offerte settemari Cryogenteam link masturbazione al telefono Sex horse xxx Frase dolce tenere d amore Site adsl html it tele2 it Lucilla agosti sexy Tutto troie gratis Disegni dei gormiti tecra s2 centrino pm Video vecchie gratis leti e dante componenti crossover Fiche sborrate Elenco attrici porno insieme e piu bello cretino url 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