|
[Sponsors] |
No run-time surface pressure from OpenFOAM 2.2.0 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 1, 2013, 07:59 |
No run-time surface pressure from OpenFOAM 2.2.0
|
#1 |
New Member
JUN HONG
Join Date: Nov 2012
Posts: 4
Rep Power: 13 |
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); } ); } ----------------------------------------------- |
|
October 1, 2013, 10:45 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24 |
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
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
October 1, 2013, 15:11 |
|
#3 |
New Member
JUN HONG
Join Date: Nov 2012
Posts: 4
Rep Power: 13 |
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. |
|
December 3, 2013, 09:01 |
wallpressure
|
#4 |
Member
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 12 |
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; } ); } - 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. Best regards Tobi |
|
December 31, 2013, 00:54 |
|
#5 |
Senior Member
Join Date: Jan 2013
Posts: 134
Rep Power: 13 |
caught by the same problem!
|
|
January 10, 2014, 03:59 |
|
#6 |
Member
Tobias Adam
Join Date: Oct 2013
Location: Siegen
Posts: 55
Rep Power: 12 |
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 |
|
January 12, 2014, 05:51 |
|
#7 |
Senior Member
Join Date: Jan 2013
Posts: 134
Rep Power: 13 |
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. |
|
January 21, 2014, 07:55 |
|
#8 |
Senior Member
Join Date: Jan 2013
Posts: 134
Rep Power: 13 |
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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
If OpenFOAM can run different solver in different domain in the same time ? | panda60 | OpenFOAM Running, Solving & CFD | 4 | May 15, 2014 11:07 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
[snappyHexMesh] Layers don't fully surround surface | EVBUCF | OpenFOAM Meshing & Mesh Conversion | 14 | August 20, 2012 05:31 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |