|June 9, 2010, 08:40||
Sample utility not working properly
I am having problems using the sample utility in either OpenFOAM 1.6 and OpenFOAM 1.5 Dev. To better understand what is going on, I went to the description in the internet of solidDisplacementFoam, to check out in particular the variable definition, to see if there was anything in the variable definition that was hindering the operation of the sample utility. After some tests, I found out the following.
- Only for variables defined for the mesh it was possible to sample. For example, for D is possible as it is defined as
but sigmaD no, being D defined as
00050 mu*twoSymm(fvc::grad(D)) + lambda*(I*tr(fvc::grad(D)))
Please note the differences, sigmaD involves a calculated field,
Also, I cannot extract single components, but, as I got all the
components separately, there is not much of a problem, only more
numbers.... But, to know how to extract single components will be
How I can sample sigmaD? Is the sample utility not suitable for
this? Should I use probes instead? Why there is an example of the
usage of samples that does not work at all? I do not believe this is
problem of the system I am using, Ubuntu 8.10.
If anyone have some ideas, please answer me and help me out.
|June 9, 2010, 09:00||
Join Date: May 2009
Posts: 1,193Rep Power: 21
I think the important difference here is that D is AUTO_WRITE, while sigmaD is NO_WRITE. If you write out sigmaD to disk, you should be able to sample it.
|June 9, 2010, 10:45||
Tried but did not work
Changed the definition of sigmaD to AUTO_WRITE, and I got segmentation fault after applying the sample utility. But, if I do the same for the variable divSigmaExp, a vectorField calculated, I got results. SigmaD is a symmetric tensor field, so it seems there is a problem in the software. It may be:
- I am using the wrong comand to write the components.
- Sample does not work for tensors.
Can you help me on this.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Sample Utility not working in OpenFoam 1.6||titio||OpenFOAM Post-Processing||6||November 15, 2014 19:04|
|ParaView or Sample Utility||ternik||OpenFOAM||0||April 5, 2010 15:15|
|Understanding the coordinates of sample utility||vishwa||OpenFOAM Post-Processing||4||March 25, 2010 13:51|
|Sample Utility not working in OpenFoam 1.6||titio||OpenFOAM Post-Processing||0||February 5, 2010 13:12|
|Sample utility not working in OpenFoam1.5 dev||titio||OpenFOAM Post-Processing||1||December 10, 2009 03:38|