confusing point ! help me
Hi dear Foamers!
I have a 3D rectangular straight pipe align z axis. I want to sample data in a plane normal to main flow and use this sampleDic: Code:
surfaceFormat vtk; what you think? |
Greetings Amin,
Mmm... not much information to go on, but my guess is that you're trying to get a sample right on top of a wall or patch. I think "sampleDict" can sample a patch directly. You can find a complete example here: Code:
$WM_PROJECT_DIR/applications/utilities/postProcessing/sampling/sample/sampleDict Code:
echo $WM_PROJECT_DIR Bruno |
ThanX very much Dear Bruno
I checked it It wasn,t the problem I used patch which you said, it works correctly 0 0 .0000000000000000000000000000000000000000000000000 0000000000001 0 work but 0 0 1 does'n work :) |
Hi Amin,
Are you able to do a slice/cut on ParaView on that same plane (0 0 0.1)? Best regards, Bruno |
Hi Bruno
yes Of course My outlet patch normal vector is (0 0 .1) |
Hi Amin,
I haven't answered back because I haven't had time to create a test case of my own. If you could post a small example case, or give an example based on one of OpenFOAM's tutorials, it would be easier to diagnose what might be going on! Best regards, Bruno |
1 Attachment(s)
I upload it for you
It's solver is icoFoam |
Hi Amin,
Well, the problem apparently is because you're using a reaaally old version of OpenFOAM. I've used just now OpenFOAM 2.1.x, 2.0.x and 1.7.x, all with success! So the solution should be: upgrade your OpenFOAM version! Best regards, Bruno |
Hi Amin,
Well, although this worked for me, it looks like that sometimes it doesn't work for other people as well. Here's such an example: http://www.openfoam.org/mantisbt/view.php?id=520 So, you might indeed need a slight offset to one direction in order to get a proper sampling when the lines/points are too close to a patch or wall. Best regards, Bruno |
Hi Bruno
Tanx very much You are absolutely right |
All times are GMT -4. The time now is 02:10. |