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

No run-time surface pressure from OpenFOAM 2.2.0

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By kkpal

Reply
 
LinkBack Thread Tools Display Modes
Old   October 1, 2013, 06:59
Default No run-time surface pressure from OpenFOAM 2.2.0
  #1
New Member
 
JUN HONG
Join Date: Nov 2012
Posts: 4
Rep Power: 5
Junhong is on a distinguished road
Dear all,

I put the function (below) in controlDict, there is no data files produced in each folder (timestep). It works well in the earlier versions. Did you encounter such problem?

Thanks!
-----------------------------------------------------
left-wheel
{
type surfaces;
functionObjectLibs ( "libsampling.so" );
enabled true;
outputControl timeStep;
outputInterval 2;
surfaceFormat raw;
interpolationScheme cell;
fields
( p );
surfaces
(
left-wheel
{
type patch;
patches (left-wheel);
}
);
}
-----------------------------------------------
Junhong is offline   Reply With Quote

Old   October 1, 2013, 09:45
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,166
Blog Entries: 1
Rep Power: 15
nimasam is on a distinguished road
1- which solver do you use?
2- create a setup and post here.
3-if you think it is a bug, you can submit it in bug section
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   October 1, 2013, 14:11
Default
  #3
New Member
 
JUN HONG
Join Date: Nov 2012
Posts: 4
Rep Power: 5
Junhong is on a distinguished road
Thanks!

the version 2.2.0_b2 used. same as the bug described:

http://www.openfoam.org/mantisbt/view.php?id=813

how to solve it ?

the older version is fine for the same case.
Junhong is offline   Reply With Quote

Old   December 3, 2013, 09:01
Default wallpressure
  #4
Member
 
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 4
Tobias Adam is on a distinguished road
hello

Just try to google some alternative lines for the control dict.

Maybe these work better, after putting your information to the right positions?

Code:
wallPressure
      {
        type surfaces;
        functionObjectLibs ("libsampling.so");
        surfaceFormat raw; // vtk;
        outputControl timeStep;
        outputInterval 11;
        interpolationScheme cellPoint;

        fields (p);
      surfaces (BLADE
        {
           type patch;
       patches ("BLADE");
         interpolate true;
         triangulate false;
       } ); }
Iīm also looking for some other versions for this function, because I get the following error messages when I try to use it:

-
Code:
-> FOAM FATAL ERROR: 
More than one patch accessing the same transform but not of the same sign.
patch:SYM1 transform:0 sign:1  current transforms:(1 0 0)

    From function Foam::label Foam::globalIndexAndTransform::addToTransformIndex
(
const label,
const label,
const bool
) const

    in file lnInclude/globalIndexAndTransformI.H at line 240.
But maybe it works for you^^

Best regards
Tobi
Tobias Adam is offline   Reply With Quote

Old   December 31, 2013, 00:54
Default
  #5
Senior Member
 
Join Date: Jan 2013
Posts: 110
Rep Power: 5
kkpal is on a distinguished road
caught by the same problem!
kkpal is offline   Reply With Quote

Old   January 10, 2014, 03:59
Default
  #6
Member
 
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 4
Tobias Adam is on a distinguished road
Hello Kai

What do you want to do with the surface data?
Maybe you donīt need this function, if you deactivate all patches and just activate the surface-patch in Paraview?

Thatīs what I needed for my plot of cp-values over the surface!

Greets Tobi
Tobias Adam is offline   Reply With Quote

Old   January 12, 2014, 05:51
Default
  #7
Senior Member
 
Join Date: Jan 2013
Posts: 110
Rep Power: 5
kkpal is on a distinguished road
hi, Tobias
Thanks for your reply.
I intended to plot the drag and lift force coefficients along the 3D cylinder with time, so it is best I could use this funciton, or I have to write down the files to disk at a relatively small interval.
Recently I tried this function in another case and it magically worked. Maybe there was something wrong with the last case, but I was unable to figure out where
Anyway this function is running now and I am very happy with this.
kkpal is offline   Reply With Quote

Old   January 21, 2014, 07:55
Default
  #8
Senior Member
 
Join Date: Jan 2013
Posts: 110
Rep Power: 5
kkpal is on a distinguished road
Lately I found that this function is ubuntu-version dependent.
My OF version is 2.2.2 and this function works well on ubuntu 12.04 but not on 12.10.
Tobias Adam likes this.
kkpal is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
If OpenFOAM can run different solver in different domain in the same time ? panda60 OpenFOAM Running, Solving & CFD 4 May 15, 2014 10:07
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34
Layers don't fully surround surface EVBUCF OpenFOAM Native Meshers: snappyHexMesh and Others 14 August 20, 2012 04:31
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM 6 April 12, 2011 11:24
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 20:06.