CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Error sampling the velocity in a z normal plane

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By fabmarmar

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2020, 14:14
Default Error sampling the velocity in a z normal plane
  #1
New Member
 
Fabian Marquez Macias
Join Date: Apr 2020
Posts: 2
Rep Power: 0
fabmarmar is on a distinguished road
Hello everybody,

I am trying to sample the velocity field in a z normal plane with the following functions entry in the controlDict file:

velocity_plane {

type surfaces;
functionObjectLibs ( "libsampling.so" );
outputControlMode timeStep;
outputInterval 1;
writeStartTime 0;


surfaceFormat vtk;
interpolationScheme cellPoint;

fields ( U );

surfaces
(
tube1_outletplane
{
type plane;
basePoint (0.08 0 0);
normalVector (0 0 1);
}


}

Then I get the following error output:

--> FOAM FATAL IO ERROR:
keyword planeType is undefined in dictionary "/location/of/simulation/folder"

The same process is working in my code for line samples, but for 2D samples I am doing probably something wrong, what I could not fix yet.

If you know the source error, please let me know.

Thanks in advance and happy easter!
fabmarmar is offline   Reply With Quote

Old   April 10, 2020, 15:58
Default
  #2
New Member
 
Fabian Marquez Macias
Join Date: Apr 2020
Posts: 2
Rep Power: 0
fabmarmar is on a distinguished road
I could fix it:

correction:
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
basePoint (0.053117 0.017259 -0.1993);
normalVector (0 0 1);
}
mxa261 likes this.
fabmarmar is offline   Reply With Quote

Old   December 16, 2020, 20:04
Default
  #3
New Member
 
Mehrshad Amini
Join Date: Sep 2017
Posts: 10
Rep Power: 8
mxa261 is on a distinguished road
Hi Fabian,

Thank you for your post. It really helped me.

Best,
Mehrshad
mxa261 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Invalid Normals for source face to target face while making AMI? Sorabh OpenFOAM Meshing & Mesh Conversion 1 August 3, 2021 06:35
velocity vector on 2d plane not 3d akbar.mech Tecplot 7 May 23, 2019 10:40
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 02:09
Velocity within symmetry plane..JOB DEPENDS ON ANSWER! prikeyma FLUENT 3 September 10, 2010 10:52
Normal velocity at the symmetry boundary Seventy FLUENT 1 October 26, 2009 06:52


All times are GMT -4. The time now is 23:13.