<p dir="ltr">Thanks for your response. What is the format for characteristic? The example online, bgmesh.pos,  has 3 values. What do they mean?</p>
<div class="gmail_quote">On Jul 29, 2013 7:17 PM, "Geordie McBain" <<a href="mailto:gdmcbain@freeshell.org">gdmcbain@freeshell.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2013/7/30 j s <<a href="mailto:j.s4403@gmail.com">j.s4403@gmail.com</a>>:<br>
> Hello,<br>
><br>
> I would like to create a background mesh using the postview format.<br>
> Is there documentation for this format online?<br>
><br>
> I found bgmesh.pos here:<br>
> <a href="http://fossies.org/linux/privat/gmsh-2.8.2-source.tgz:a/gmsh-2.8.2-source/tutorial/bgmesh.pos" target="_blank">http://fossies.org/linux/privat/gmsh-2.8.2-source.tgz:a/gmsh-2.8.2-source/tutorial/bgmesh.pos</a><br>

><br>
> For 2D, and 3D, can I just use Node Values (1 coordinate per<br>
> characteristic length)?<br>
><br>
> Are the 3 values for each coordinate "node" characteristic lengths or<br>
> "direction" coordinate lengths?<br>
><br>
> It took me a while to discover from the online manual that the "pos"<br>
> extension has nothing to do with the legacy format?<br>
<br>
Rather that try and understand another format, when I wanted to do the<br>
same thing (create a background mesh), I saved my data in the .msh<br>
format (which I already understood, following its description in the<br>
manual) and then used Gmsh to convert it from .msh to .pos.<br>
<br>
Specifically, I use a couple of Make-rules:<br>
<br>
#%<--<br>
%.geo: %.msh<br>
        @echo "Merge '$<';\nSave View[0] '$(subst msh,pos,$<)';" > $@<br>
%.pos: %.geo %.msh<br>
        gmsh -0 $<<br>
        @rm -f $(subst geo,geo_unrolled,$<)<br>
#--->%<br>
<br>
But you don't need Make; basically, given data in data.msh, write<br>
data.geo which contains<br>
<br>
#%<---<br>
Merge 'data.msh';<br>
Save View[0] 'data.pos';<br>
#--->%<br>
<br>
and call it with "gmsh -0 data.1.geo" from the command line. This<br>
produces data.pos, which is what is sought, and data.geo_unrolled,<br>
which can be ignored and discarded.<br>
</blockquote></div>