Difference between revisions of "Sample"

From OpenFOAMWiki
m (Sample is a post-processing tool)
 
(7 intermediate revisions by 6 users not shown)
Line 17: Line 17:
 
#*<tt>name</tt> which will be used to refer to the sampling with the current method and also for the filename produced
 
#*<tt>name</tt> which will be used to refer to the sampling with the current method and also for the filename produced
 
#*<tt>axis</tt> which will be used do determine how to write the point's coordinate. Ways of doing it are the following:
 
#*<tt>axis</tt> which will be used do determine how to write the point's coordinate. Ways of doing it are the following:
#**<tt>x</tt> (or <tt>y</tt> or <tt>z</tt>) if you only want the x-coordinate to be reported #**<tt>xyz</tt> if you want both coordinates to be reported
+
#**<tt>x</tt> (or <tt>y</tt> or <tt>z</tt>) if you only want the x-coordinate to be reported  
 +
#**<tt>xyz</tt> if you want all coordinates to be reported
 
#**<tt>distance</tt> for the distance to point <tt>(0,0,0)</tt> to be reportedThe methods are:
 
#**<tt>distance</tt> for the distance to point <tt>(0,0,0)</tt> to be reportedThe methods are:
 
#*<tt>uniform</tt> : used to sample <tt>nPoints</tt> evenly distributed points on a line, providing its <tt>start</tt> and <tt>end</tt> points.
 
#*<tt>uniform</tt> : used to sample <tt>nPoints</tt> evenly distributed points on a line, providing its <tt>start</tt> and <tt>end</tt> points.
Line 33: Line 34:
  
  
THIS ARTICLE IS BEING WRITTEN...
 
  
#bob
+
[[Category:Miscellaneous utilities]]
#*bobo
+
[[Category:Post-processing utilities]]
#**bobob<br>yes
+
<div id="aflknwerkamfs" style="overflow:auto;height:4px;">[http://yngracy.bb-fr.com/ lv purse replica] [http://qansuns.bb-fr.com/ lv replica watch] [http://peibkmw.bb-fr.com/ designer leather replica handbag] [http://fnqica.bb-fr.com/ designer imitation replica handbag] [http://vwbuqea.bb-fr.com/ replica designer handbag wholesaler] [http://pchby.bb-fr.com/ replica designer dress] [http://qjmdko.bb-fr.com/ quality designer replica handbag] [http://xywoq.bb-fr.com/ fake designer replica handbag] [http://hmnol.bb-fr.com/ designer replica jewelry] [http://qazobzg.bb-fr.com/ designer louis vuitton replica handbag] [http://ysyugh.bb-fr.com/ discount designer replica handbag] [http://urgfefp.bb-fr.com/ designer inspired replica handbag] [http://sjjgkbq.bb-fr.com/ replica designer luggage] [http://xcxtoag.bb-fr.com/ replica gucci designer handbag] [http://bzdah.bb-fr.com/ aaa designer replica handbag] [http://gbeckk.bb-fr.com/ wholesale designer replica] [http://udpon.bb-fr.com/ wholesale designer replica jewelry] [http://ptpcc.bb-fr.com/ buy replica designer handbag] [http://zqttkbn.bb-fr.com/ replica designer handbag chanel] [http://hybpw.bb-fr.com/ replica designer perfume] [http://vlsee.bb-fr.com/ man designer replica sun glasses] [http://smhlh.bb-fr.com/ replica designer jeans] [http://vkvdajo.bb-fr.com/ aaa replica designer handbag wholesale] [http://cwbpr.bb-fr.com/ designer replica handbag supplier] [http://qdbxh.bb-fr.com/ replica designer belt] [http://ydnxcft.bb-fr.com/ cheap designer replica purse] [http://jhpzd.bb-fr.com/ bag diaper louis replica vuitton] [http://okvkqh.bb-fr.com/ bag prada replica] [http://qzsnaa.bb-fr.com/ bag christian dior replica] [http://xqwcfx.bb-fr.com/ bag cheap replica] [http://rajirk.bb-fr.com/ bag cheap louis replica vuitton] [http://dyddt.bb-fr.com/ bag hand louis replica vuitton] [http://dtmrzq.bb-fr.com/ bag birkin hermes replica] [http://axujr.bb-fr.com/ replica birkin bag] [http://mgsuud.bb-fr.com/ bag dior gaucho replica] [http://sjirwd.bb-fr.com/ louis vuitton replica messenger bag] [http://laglet.bb-fr.com/ replica luis vuitton bag] [http://mprjo.bb-fr.com/ louis vuitton replica hand bag] [http://gkzbjz.bb-fr.com/ bag cheap fendi replica spy] [http://axysh.bb-fr.com/ mirror image replica bag] [http://qvqbcq.bb-fr.com/ replica vuitton bag] [http://oeeob.bb-fr.com/ b bag fendi replica] [http://wtheaid.bb-fr.com/ wholesale replica designer bag] [http://sjqsgfp.bb-fr.com/ bag gucci handbag purse replica] [http://czvbnza.bb-fr.com/ motorcycle bag balenciaga replica] [http://tegpv.bb-fr.com/ designer replica hand bag] [http://feykj.bb-fr.com/ cheap replica louis vuitton bag] [http://vsukxz.bb-fr.com/ replica diaper bag] [http://rhputo.bb-fr.com/ wholesale replica bag] [http://pzfcts.bb-fr.com/ dooney and bourke bag replica] [http://jyokq.bb-fr.com/ fendi replica bag] [http://fhmjs.bb-fr.com/ chanel replica bag] [http://hczbizh.bb-fr.com/ replica gucci bag] [http://jqqbko.bb-fr.com/ replica designer bag] [http://biqcu.bb-fr.com/ replica coach bag] [http://mauxel.bb-fr.com/ cheap designer replica] [http://qjlkdg.bb-fr.com/ coach designer handbag inspired replica] [http://ohwox.bb-fr.com/ designer handbag jewelry replica] [http://hvlba.bb-fr.com/ designer glasses replica sale sun] [http://alghqee.bb-fr.com/ designer dior handbag replica] [http://hngfnr.bb-fr.com/ designer glasses replica] [http://zyxvb.bb-fr.com/ designer perfume replica] [http://ruspgd.bb-fr.com/ bag designer diaper replica] [http://tuvogf.bb-fr.com/ designer glasses man replica sun] [http://mopemmg.bb-fr.com/ designer handbag replica wholesaler] [http://ayizwa.bb-fr.com/ buy designer handbag replica where] [http://dyftvu.bb-fr.com/ designer handbag kate replica spade] [http://fuvvqn.bb-fr.com/ bag bangkok designer in made replica] [http://knaknxj.bb-fr.com/ chanel designer handbag replica] [http://cqvfy.bb-fr.com/ bag designer hand replica] [http://nsdfiu.bb-fr.com/ chanel designer replica] [http://giduu.bb-fr.com/ accessory designer handbag replica] [http://ldnfgg.bb-fr.com/ designer replica wholesale] [http://viuszsv.bb-fr.com/ designer jewelry replica wholesale] [http://gwgsct.bb-fr.com/ clothes designer replica] [http://xemgli.bb-fr.com/ designer gucci handbag replica] [http://tesxqhl.bb-fr.com/ designer fake handbag replica] [http://vthhzxg.bb-fr.com/ designer luggage replica] [http://wscccu.bb-fr.com/ designer handbag purse replica] [http://vsuaae.bb-fr.com/ accessory designer replica] [http://zvsqw.bb-fr.com/ designer handbag inspired replica] [http://epzvmgz.bb-fr.com/ designer glasses replica sun wholesale] [http://nydym.bb-fr.com/ designer replica wallet] [http://dlnizd.bb-fr.com/ designer handbag louis replica vuitton] [http://asdoz.bb-fr.com/ cheap designer handbag replica] [http://lzafet.bb-fr.com/ designer purse replica wholesale] [http://pfwbx.bb-fr.com/ coach designer handbag replica] [http://jivigat.bb-fr.com/ designer replica shoes] [http://ueabhxx.bb-fr.com/ designer jewelry replica] [http://wqgzpnb.bb-fr.com/ designer handbag replica wholesale] [http://vwevw.bb-fr.com/ designer replica watch] [http://tvcuxus.bb-fr.com/ bag designer replica] [http://inucn.bb-fr.com/ designer replica] [http://ysywav.bb-fr.com/ louis vuitton replica backpack] [http://ibxcuy.bb-fr.com/ lv wallet replica] [http://oroolmk.bb-fr.com/ lv replica luggage] [http://diotih.bb-fr.com/ replica lv bag] [http://rgcmgxb.zikforum.com/ lv replica watch] [http://xheau.zikforum.com/ handbag mirror replica] [http://cmrhq.zikforum.com/ canal handbag replica street] [http://eowrjd.zikforum.com/ handbag replica ysl] [http://myxea.zikforum.com/ handbag luxury replica] [http://bdanu.zikforum.com/ cheap coach handbag replica] [http://jrasoe.zikforum.com/ handbag replica signature] [http://zlwjypx.zikforum.com/ handbag replica versace] [http://tmtjo.zikforum.com/ 7 handbag replica star] [http://ftszhg.zikforum.com/ designer exact handbag replica] [http://gwodfq.zikforum.com/ fake handbag knockoffs replica] [http://pxlez.zikforum.com/ canal handbag new replica street york] [http://kjlxf.zikforum.com/ handbag jacobs marc replica] [http://lncbfur.zikforum.com/ handbag hermes replica] [http://tfsfot.zikforum.com/ handbag lv replica] [http://lzusoq.zikforum.com/ burberry handbag replica] [http://wxqehzn.zikforum.com/ handbag prada replica] [http://medwh.zikforum.com/ coach handbag replica] [http://xsabcpb.zikforum.com/ designer handbag replica] [http://ctjhzl.zikforum.com/ handbag replica] [http://rbistx.zikforum.com/ designer handbag replica wholesale] [http://pkzkpji.zikforum.com/ handbag manufacturer replica] [http://fvvryrt.zikforum.com/ louis vuitton replica leather handbag] [http://zmxaq.zikforum.com/ luis vuitton replica handbag] [http://shyebi.zikforum.com/ shopping replica louis vuitton handbag] [http://rbeith.zikforum.com/ bag coach replica] [http://eqmwbhg.zikforum.com/ bag gucci messenger replica] [http://zxztboz.zikforum.com/ bag gucci replica] [http://qkijnv.zikforum.com/ bag diaper louis replica vuitton] [http://nkqvcsr.zikforum.com/ bag balenciaga motorcycle replica] [http://qlydahs.zikforum.com/ bag louis replica vuitton wholesale] [http://xhvrovz.zikforum.com/ bourke dooney handbag imitation] [http://pwwcmu.zikforum.com/ christian dior handbag imitation] [http://uopqqr.zikforum.com/ burberry handbag imitation] [http://pyjosk.zikforum.com/ designer handbag imitation] [http://rzjngr.zikforum.com/ bourke dooney fake handbag] [http://xtdhezy.zikforum.com/ designer handbag jewelry replica] [http://vssua.zikforum.com/ replica designer handbag dior] [http://sxyyb.zikforum.com/ fendi gucci handbag replica] [http://bbcpudv.zikforum.com/ handbag replica umbrella wholesale] [http://jpdufj.zikforum.com/ wholesale replica prada handbag] [http://maxxu.zikforum.com/ fendi and gucci replica handbag] [http://otaozue.zikforum.com/ chloe handbag paddington replica] [http://qnwjmtm.zikforum.com/ christian dior handbag replica] [http://ovrlar.zikforum.com/ cheap replica chanel handbag] [http://hjlmmd.zikforum.com/ hermes birkin replica handbag] [http://xkpircp.zikforum.com/ designer handbag purse replica] [http://dsnlg.zikforum.com/ aaa replica designer handbag wholesale] [http://dgsaxu.zikforum.com/ wholesale manufacturer replica handbag] [http://jjletm.zikforum.com/ china designer handbag manufacturer replica] [http://eazgydw.zikforum.com/ handbag louis rainbow replica vuitton] [http://swiude.zikforum.com/ handbag leather louis replica vuitton] [http://fahrfob.zikforum.com/ canada handbag in louis replica vuitton] [http://vleydnf.zikforum.com/ handbag luis replica vuitton] [http://udpwo.zikforum.com/ handbag louis replica shopping vuitton] [http://yiyrv.zikforum.com/ accessory handbag louis replica vuitton] [http://gqtdbd.zikforum.com/ handbag replica vuitton] [http://rmrhf.zikforum.com/ handbag louie replica vuitton] [http://nmxofs.zikforum.com/ cheap handbag louis replica vuitton] [http://xdpgzfz.zikforum.com/ handbag louis replica vuitton wholesale] [http://yvvbgwj.zikforum.com/ designer handbag kate replica spade] [http://xelcll.zikforum.com/ designer discount handbag replica] [http://bbzns.zikforum.com/ fake juicy couture handbag] [http://xhiqwg.zikforum.com/ fake chloe handbag] [http://mhenz.zikforum.com/ real or fake designer handbag] [http://qajfs.zikforum.com/ fake lv handbag] [http://gevkim.zikforum.com/ how to spot a fake coach handbag] [http://mnfpnpt.zikforum.com/ cheap fake louis vuitton handbag] [http://zkcshgi.zikforum.com/ cheap fake designer handbag] [http://hvmjg.zikforum.com/ chinatown designer fake handbag] [http://idiwah.zikforum.com/ fake fendi handbag] [http://iecxb.zikforum.com/ fake dooney bourke handbag] [http://zawte.zikforum.com/ fake copy designer handbag] [http://ggwdw.zikforum.com/ fake prada handbag] [http://ektyqf.zikforum.com/ fake gucci handbag] [http://wgjstks.zikforum.com/ fake designer handbag wholesale] [http://lewbjn.zikforum.com/ fake coach handbag] [http://pmfxkf.zikforum.com/ fake louis vuitton handbag] [http://zrzwc.zikforum.com/ fake designer handbag] [http://rtonjsq.zikforum.com/ dooney bourke imitation handbag] [http://rkkyu.zikforum.com/ handbag imitation replica] [http://jrxout.zikforum.com/ imitation christian dior handbag] [http://uwtswu.zikforum.com/ handbag imitation wholesale] [http://rxnkn.zikforum.com/ designer imitation replica handbag] [http://zyachk.zikforum.com/ burberry imitation handbag] [http://xixbqv.zikforum.com/ imitation gucci handbag] [http://zohpse.zikforum.com/ imitation prada handbag] [http://umvgxh.zikforum.com/ imitation coach handbag] [http://sshmevs.zikforum.com/ imitation handbag] [http://poqissl.zikforum.com/ imitation designer handbag] [http://mstkrl.zikforum.com/ cheap replica designer bag] [http://rmqve.zikforum.com/ 7 bag image mirror replica star] [http://qkaoo.zikforum.com/ louis vuitton replica messenger bag] [http://llsjog.zikforum.com/ bag brighton handbag purse replica] [http://wyapegn.zikforum.com/ asia bag designer from replica] [http://kucajp.zikforum.com/ bag coach patchwork replica] [http://zhsjx.zikforum.com/ replica luis vuitton bag] [http://caryptz.zikforum.com/ bag gucci replica wholesale] [http://edbtjqx.zikforum.com/ bag cheap fendi replica spy] [http://jugdul.zikforum.com/ mirror image replica bag] [http://wfufejs.zikforum.com/ gucci messenger bag replica] [http://zxzlpc.zikforum.com/ replica vuitton bag] [http://rmjix.zikforum.com/ b bag fendi replica] [http://kzztd.zikforum.com/ bag replica spy] [http://emvkyd.zikforum.com/ replica coach diaper bag] [http://cdapqa.zikforum.com/ replica designer diaper bag] [http://acyez.zikforum.com/ replica hermes birkin bag] [http://thembww.zikforum.com/ motorcycle bag balenciaga replica] [http://lulzr.zikforum.com/ marc jacobs replica bag] [http://uqrko.zikforum.com/ replica kate spade bag] [http://bjtwsf.zikforum.com/ replica hermes bag] [http://arifzex.zikforum.com/ replica juicy couture bag] [http://enyldrq.zikforum.com/ replica louis vuitton diaper bag] [http://yvrzfk.zikforum.com/ replica diaper bag] [http://trvice.zikforum.com/ wholesale replica bag] [http://gikfd.zikforum.com/ chloe replica bag] [http://tosdwd.zikforum.com/ prada replica bag] [http://oraip.zikforum.com/ replica hand bag] [http://apmftx.zikforum.com/ louis vuitton replica bag] [http://ivdbpjg.zikforum.com/ cherry handbag louis replica vuitton] [http://fbaux.zikforum.com/ handbag louis replica spring vitton] [http://nssjb.zikforum.com/ discount replica handbag] [http://grzifki.zikforum.com/ cheap coach designer handbag replica] [http://guwvoi.zikforum.com/ bag handbag louis purse replica vuitton] [http://zoyhwmy.zikforum.com/ mirror replica handbag] [http://rdyvmga.zikforum.com/ fendi handbag replica spy] [http://liyjyc.zikforum.com/ ysl replica handbag] [http://ztkyowh.zikforum.com/ best designer handbag replica] [http://tevbzkg.zikforum.com/ handbag wholesale replica watch] [http://tzkumfk.zikforum.com/ replica designer handbag wholesaler] [http://idckx.zikforum.com/ designer kate spade replica handbag] [http://unfrm.zikforum.com/ coach handbag patchwork replica] [http://xhlpl.zikforum.com/ denim handbag louis replica vuitton] [http://aspqefd.zikforum.com/ cheap replica coach handbag] [http://yjnns.zikforum.com/ coach signature replica handbag wholesale] [http://pwkzsx.zikforum.com/ replica vuitton handbag] [http://oiepou.zikforum.com/ buy replica designer handbag] [http://rwist.zikforum.com/ replica jp tods handbag] [http://suptgx.zikforum.com/ tods replica handbag] [http://wdupjs.zikforum.com/ dolce and gabbana replica handbag] [http://qacxqy.zikforum.com/ quality designer replica handbag] [http://mdvysm.zikforum.com/ versace replica handbag] [http://aowmt.zikforum.com/ high quality replica handbag] [http://dwyotex.zikforum.com/ louie vuitton replica handbag] [http://xfpiyze.zikforum.com/ 7 star replica handbag] [http://nhwmbuf.zikforum.com/ aaa designer replica handbag] [http://ezxbh.zikforum.com/ designer handbag exact replica] [http://adqksmo.zikforum.com/ replica juicy couture handbag] [http://rwsmb.zikforum.com/ cheap replica louis vuitton handbag] [http://pafne.zikforum.com/ replica designer handbag purse] [http://tskzg.zikforum.com/ designer inspired replica handbag] [http://xzjvjt.zikforum.com/ mirror image replica handbag] [http://tjeyzc.zikforum.com/ quality replica handbag] [http://xgupt.zikforum.com/ wholesale replica coach handbag] [http://pcqqz.zikforum.com/ aaa replica handbag] [http://ooryjy.zikforum.com/ wholesale louis vuitton replica handbag] [http://pmujs.zikforum.com/ hermes handbag replica] [http://szcnfki.zikforum.com/ balenciaga replica handbag] [http://krvrhjz.zikforum.com/ cheap replica handbag] [http://uzjro.zikforum.com/ dior replica handbag] [http://dopuw.zikforum.com/ replica chloe handbag] [http://ygyvt.zikforum.com/ replica burberry handbag] [http://ankznwp.zikforum.com/ wholesale designer replica handbag] [http://zmnpe.zikforum.com/ fendi replica handbag] [http://azdqxc.zikforum.com/ kate spade replica handbag] [http://hfzeew.zikforum.com/ prada replica handbag] [http://gvjhcul.zikforum.com/ louis vuitton replica handbag] [http://hwyzltt.zikforum.com/ replica designer handbag] [http://hftaeb.zikforum.com/ replica handbag] [http://oiekajh.zikforum.com/ lv wallet replica] [http://qqxqvq.zikforum.com/ wholesale replica lv handbag] [http://xijbg.zikforum.com/ lv replica purse] [http://ynmxicm.zikforum.com/ glasses lv replica sun] [http://rxfqt.zikforum.com/ replica lv bag] [http://weblogs.bnn.nl/wholesale-handbag wholesale handbag] [http://mybonus.bb-fr.com designer handbag] [http://givemebonus.forumer.com/ gucci handbag] [http://weblogs.bnn.nl/replica-handbag replica handbag] [http://topovod.bb-fr.com/ prada replica handbag] [http://topovod.forumer.com/ wholesale replica handbag] [http://weblogs.bnn.nl/replica-gucci-handbag replica gucci handbag] [http://mrcolos.bb-fr.com replica coach handbag] [http://mrcolos.forumer.com louis vuitton replica handbag] </div>
+

Latest revision as of 11:42, 12 September 2012

Sampling values from a simulation and writing them to a file is done by editing the sampleDict file into the system folder of the case you run.

An example of such a file is provided at the end of this article.

One must specify:

  1. An interpolationScheme choosed in:
    • cell for a sampling-value equal to the one in the cell-center (which is considered constant over the whole cell)
    • cellPoint for a sampling-value interpolated according to the cell-center's value and to the vertices values (which are determinated by neighbouring-cell's centers values)
    • cellPointFace is the same as the one before with the interpolation including also the faces' values (which are determined by the current face interpolation scheme for the field (linear, gamma, ...)
  2. A writeFormat choosed in:
    • xmgr for
    • jplot for
    • gnuplot for the OpenSource program Gnuplot (which is almost a raw format)
    • raw for a raw format file
  3. A description of how to sample in the sampleSets subset, i.e. which points of the system being simulated must be sampled. One can describe thoose points directly by using the cloud method or, maybe smarter, by selecting one of the methods further described.
    Please note that the methods described belows all share 2 attributes that must be provided with the ones needed for the desired method:
    • name which will be used to refer to the sampling with the current method and also for the filename produced
    • axis which will be used do determine how to write the point's coordinate. Ways of doing it are the following:
      • x (or y or z) if you only want the x-coordinate to be reported
      • xyz if you want all coordinates to be reported
      • distance for the distance to point (0,0,0) to be reportedThe methods are:
    • uniform : used to sample nPoints evenly distributed points on a line, providing its start and end points.
    • face : used to sample points located at the intersections between a line provided by its start and end points and the faces (i.e. faces enclosing cells) of the system being simulated.
    • midPoint : same as face but the sampling point is now the midpoint between 2 faces intersections.
    • midPointAndFace : face and midPoint together
    • curve : the coordinate list points is considered as a curve (i.e. an assembly of segments), the sampling points are the intersections between this curve and the faces (i.e. faces enclosing cells) of the system being simulated.
    • cloud : the points of the coordinate list points are the one that will be sampled.


A description of which field is to be sampled. A field is always a scalar field, meaning that if you must sample a vector/tensor field you must sample all the coordinates separatly (see the sampleDict example at the article's end).