I remember getting an error like that and it was gone after I renumbered the Mesh.
If that does not work, then I would recommend you double check your sampleDict settings. gl |
I guess renumbering the mesh would mean I will have to generate it again with different block topology, since I am using blockMesh.
Well that will be a problem for me since the simulation is very long and I already have the results. Anways thanks for your reply. Regards, Awais |
Hello Frederic,
I am using OpenFoam 2.2.2. I couldn't compile the sampleAvergarePlane utility as you instructed in the README file. Do i need to do something to complie in this version of OpenFoam? I would appreciate your feedback. Thanks MMMN |
Having used sampleAvergarePlane, I understand that it averages fields in a single direction and projects them into a plane in vtk format.
I have been wondering if simply using mapFields, from a 3D grid into a 2D grid in the same computational domain would not achieve the same result (nx,ny,nz) -> (nx,ny,1). |
Quote:
I have encountered the following error when compiling using wmake libso: Code:
sampledSurface/sampledAveragePlane/sampledAveragePlane.C: In constructor ‘Foam::sampledAveragePlane::sampledAveragePlane(const Foam::word&, const Foam::polyMesh&, const Foam::dictionary&)’: Thanks, Syavash |
Hi Frederic!
Thanks for this utility. It works fine with OpenFOAM 1.7.1, but it doesn't compile on latest versions of OpenFOAM, i.e. 2.3.0 or 2.4.0. The problem seems to be related to changed names of some functions that are called within the program... Do you have also an updated version of this utility, which works on newer versions of OpenFOAM? Cheers, Blaz |
1 Attachment(s)
At first I didn't realize that this thread is so long. Now, I have tried also the version posted on July 27, 2012. It works fine with OpenFOAM 2.1.1, but it doesn't compile on OpenFOAM 2.3.0. The error seems to be related with coordSet.H file. Error is in the attachment.
Any help is appreciated. |
1 Attachment(s)
For those who are concerned
I have modified the proposed application here in order to be used in OpenFOAM 2.3.1, so I suposse it would work in 2.4 as well. It gives the values in the mesh nodes, when the sample tools of surfaces gives values in the center of the cells. Do you know how to achieve that? I share with you this modified tool. |
Dear Frederic,
In these years, Did you try to update this spanwise averaging function Object for any recent openfoam versions ? Its a very nice utility for OpenFoam. Thanks. Edit : Sorry for my mistake. This was for another thread |
All times are GMT -4. The time now is 11:48. |