CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Other] How to use finite area method in official OpenFOAM 2.2.0? (https://www.cfd-online.com/Forums/openfoam-meshing/137279-how-use-finite-area-method-official-openfoam-2-2-0-a.html)

Detian Liu June 13, 2014 00:12

How to use finite area method in official OpenFOAM 2.2.0?
 
Dear all,
I am a freshie and is trying to use OpenFOAM, so I have a question that whether I could use finete area method in official OpenFOAM 2.2.X. Is there some tools similar to the faMesh in openfoam-ext, such as surfMesh in official OpenFOAM 2.2.x?
Could some one give me any guidance or literiture?
Thanks a billion.

elvis June 13, 2014 05:11

Hi,

a "Finite Area Method"-equivalent Method in OF was intruduced in Version 2.0.0 called "Surface film" , but some people believe it is not as good as FAM, but that was the opinion from someone who is very biased as he is a extend developer.

I do not know, but you can install Extend 3.1 and OF 2.3 side by side. There is a Help page on http://openfoamwiki.net/index.php/Main_Page but I do not have a direct link

Detian Liu June 13, 2014 22:40

Dear Elvis,
Thank you for the quick and detailed reply!
I think I will try to learn about Extend 3.1. To ask this question just because I am afraid I can not handle Extend 3.1.
Still I have a question that you say Surface film sat intruduced in Version 2.0.0, does it mean I have to install OF2.0.0, or it is also included in OF2.2.x?
Thank you again for all help!
Best Wishes!
Detian
2014.6.14

sarbi November 3, 2015 01:09

OpenFOAM 2.3.0 and finiteArea ?
 
Hi all,
In the cluster, we have openfoam 2.3.0 installed, yet I need to use finiteArea library.
Is it possible to compile this library for this version? or 1.6-ext or 3.1-ext needs to be installed?

Best regards

sarbi November 3, 2015 03:04

Below given is what I get, when I type wmake libso for finiteArea in 2.3.0?

Code:

sarbi@K5Z16WSU:~/OpenFOAM/OpenFOAM-2.3.0/src/finiteArea$ wmake libso
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file faMesh/faGlobalMeshData/faGlobalMeshData.C
Making dependency list for source file faMesh/faMesh.C
Making dependency list for source file faMesh/faMeshDemandDrivenData.C
could not open file coordinateSystem.H for source file faMesh/faMeshDemandDrivenData.C due to No such file or directory
Making dependency list for source file faMesh/faBoundaryMesh/faBoundaryMesh.C
Making dependency list for source file faMesh/faPatches/faPatch/faPatch.C
Making dependency list for source file faMesh/faPatches/faPatch/newFaPatch.C
Making dependency list for source file faMesh/faPatches/basic/coupled/coupledFaPatch.C
Making dependency list for source file faMesh/faPatches/constraint/empty/emptyFaPatch.C
Making dependency list for source file faMesh/faPatches/constraint/processor/processorFaPatch.C
Making dependency list for source file faMesh/faPatches/constraint/wedge/wedgeFaPatch.C
Making dependency list for source file faMesh/faPatches/constraint/cyclic/cyclicFaPatch.C
Making dependency list for source file faMesh/faPatches/constraint/symmetry/symmetryFaPatch.C
Making dependency list for source file fields/faPatchFields/faPatchField/faPatchFields.C
Making dependency list for source file fields/faPatchFields/basic/basicSymmetry/basicSymmetryFaPatchFields.C
Making dependency list for source file fields/faPatchFields/basic/basicSymmetry/basicSymmetryFaPatchScalarField.C
Making dependency list for source file fields/faPatchFields/basic/calculated/calculatedFaPatchFields.C
Making dependency list for source file fields/faPatchFields/basic/coupled/coupledFaPatchFields.C
Making dependency list for source file fields/faPatchFields/basic/zeroGradient/zeroGradientFaPatchFields.C
Making dependency list for source file fields/faPatchFields/basic/fixedValue/fixedValueFaPatchFields.C
Making dependency list for source file fields/faPatchFields/basic/fixedGradient/fixedGradientFaPatchFields.C
Making dependency list for source file fields/faPatchFields/basic/mixed/mixedFaPatchFields.C
Making dependency list for source file fields/faPatchFields/basic/transform/transformFaPatchFields.C
Making dependency list for source file fields/faPatchFields/basic/transform/transformFaPatchScalarField.C
Making dependency list for source file fields/faPatchFields/constraint/empty/emptyFaPatchFields.C
Making dependency list for source file fields/faPatchFields/constraint/processor/processorFaPatchFields.C
Making dependency list for source file fields/faPatchFields/constraint/processor/processorFaPatchScalarField.C
Making dependency list for source file fields/faPatchFields/constraint/wedge/wedgeFaPatchFields.C
Making dependency list for source file fields/faPatchFields/constraint/wedge/wedgeFaPatchScalarField.C
Making dependency list for source file fields/faPatchFields/constraint/cyclic/cyclicFaPatchFields.C
Making dependency list for source file fields/faPatchFields/constraint/symmetry/symmetryFaPatchFields.C
Making dependency list for source file fields/faPatchFields/derived/fixedValueOutflow/fixedValueOutflowFaPatchFields.C
Making dependency list for source file fields/faPatchFields/derived/inletOutlet/inletOutletFaPatchFields.C
Making dependency list for source file fields/faPatchFields/derived/slip/slipFaPatchFields.C
Making dependency list for source file fields/faePatchFields/faePatchField/faePatchFields.C
Making dependency list for source file fields/faePatchFields/basic/calculated/calculatedFaePatchFields.C
Making dependency list for source file fields/faePatchFields/basic/coupled/coupledFaePatchFields.C
Making dependency list for source file fields/faePatchFields/basic/fixedValue/fixedValueFaePatchFields.C
Making dependency list for source file fields/faePatchFields/constraint/empty/emptyFaePatchFields.C
Making dependency list for source file fields/faePatchFields/constraint/processor/processorFaePatchFields.C
Making dependency list for source file fields/faePatchFields/constraint/wedge/wedgeFaePatchFields.C
Making dependency list for source file fields/faePatchFields/constraint/cyclic/cyclicFaePatchFields.C
Making dependency list for source file fields/faePatchFields/constraint/symmetry/symmetryFaePatchFields.C
Making dependency list for source file fields/areaFields/areaFields.C
Making dependency list for source file fields/edgeFields/edgeFields.C
Making dependency list for source file faMatrices/faMatrices.C
Making dependency list for source file faMatrices/faScalarMatrix/faScalarMatrix.C
Making dependency list for source file interpolation/edgeInterpolation/edgeInterpolation.C
Making dependency list for source file interpolation/edgeInterpolation/edgeInterpolationScheme/edgeInterpolationSchemes.C
Making dependency list for source file interpolation/edgeInterpolation/schemes/linear/linearEdgeInterpolationMake.C
Making dependency list for source file interpolation/edgeInterpolation/schemes/upwind/upwindEdgeInterpolationMake.C
Making dependency list for source file interpolation/edgeInterpolation/schemes/linearUpwind/linearUpwindEdgeInterpolationMake.C
Making dependency list for source file interpolation/edgeInterpolation/schemes/Gamma/GammaEdgeInterpolationMake.C
Making dependency list for source file interpolation/edgeInterpolation/schemes/blended/blendedEdgeInterpolationMake.C
Making dependency list for source file finiteArea/fa/fa.C
Making dependency list for source file finiteArea/faSchemes/faSchemes.C
Making dependency list for source file finiteArea/ddtSchemes/faDdtScheme/faDdtSchemes.C
Making dependency list for source file finiteArea/ddtSchemes/steadyStateFaDdtScheme/steadyStateFaDdtSchemes.C
Making dependency list for source file finiteArea/ddtSchemes/EulerFaDdtScheme/EulerFaDdtSchemes.C
Making dependency list for source file finiteArea/ddtSchemes/backwardFaDdtScheme/backwardFaDdtSchemes.C
Making dependency list for source file finiteArea/ddtSchemes/boundedBackwardFaDdtScheme/boundedBackwardFaDdtScheme.C
Making dependency list for source file finiteArea/divSchemes/faDivScheme/faDivSchemes.C
Making dependency list for source file finiteArea/divSchemes/gaussFaDivScheme/gaussFaDivSchemes.C
Making dependency list for source file finiteArea/gradSchemes/faGradScheme/faGradSchemes.C
Making dependency list for source file finiteArea/gradSchemes/gaussFaGrad/gaussFaGrads.C
Making dependency list for source file finiteArea/gradSchemes/leastSquaresFaGrad/leastSquaresFaVectors.C
Making dependency list for source file finiteArea/gradSchemes/leastSquaresFaGrad/leastSquaresFaGrads.C
Making dependency list for source file finiteArea/gradSchemes/limitedGradSchemes/faceLimitedFaGrad/faceLimitedFaGrads.C
Making dependency list for source file finiteArea/gradSchemes/limitedGradSchemes/edgeLimitedFaGrad/edgeLimitedFaGrads.C
Making dependency list for source file finiteArea/lnGradSchemes/lnGradScheme/lnGradSchemes.C
Making dependency list for source file finiteArea/lnGradSchemes/correctedLnGrad/correctedLnGrads.C
Making dependency list for source file finiteArea/lnGradSchemes/limitedLnGrad/limitedLnGrads.C
Making dependency list for source file finiteArea/lnGradSchemes/fourthLnGrad/fourthLnGrads.C
Making dependency list for source file finiteArea/laplacianSchemes/faLaplacianScheme/faLaplacianSchemes.C
Making dependency list for source file finiteArea/laplacianSchemes/gaussFaLaplacianScheme/gaussFaLaplacianSchemes.C
Making dependency list for source file finiteArea/convectionSchemes/faConvectionScheme/faConvectionSchemes.C
Making dependency list for source file finiteArea/convectionSchemes/gaussFaConvectionScheme/gaussFaConvectionSchemes.C
SOURCE=faMesh/faGlobalMeshData/faGlobalMeshData.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100  -IlnInclude -I. -I/home/sarbi/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude -I/home/sarbi/OpenFOAM/OpenFOAM-2.3.0/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/faGlobalMeshData.o
faMesh/faGlobalMeshData/faGlobalMeshData.C: In constructor ‘Foam::faGlobalMeshData::faGlobalMeshData(const Foam::faMesh&)’:
faMesh/faGlobalMeshData/faGlobalMeshData.C:48:23: error: no matching function for call to ‘Foam::ProcessorTopology<Foam::faPatch, Foam::processorFaPatch>::ProcessorTopology(const Foam::faBoundaryMesh&)’
faMesh/faGlobalMeshData/faGlobalMeshData.C:48:23: note: candidates are:
/home/sarbi/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/ProcessorTopology.C:108:1: note: Foam::ProcessorTopology<Container, ProcPatch>::ProcessorTopology(const Container&, Foam::label) [with Container = Foam::faPatch, ProcPatch = Foam::processorFaPatch, Foam::label = int]
/home/sarbi/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/ProcessorTopology.C:108:1: note:  candidate expects 2 arguments, 1 provided
/home/sarbi/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/ProcessorTopology.H:57:7: note: Foam::ProcessorTopology<Foam::faPatch, Foam::processorFaPatch>::ProcessorTopology(const Foam::ProcessorTopology<Foam::faPatch, Foam::processorFaPatch>&)
/home/sarbi/OpenFOAM/OpenFOAM-2.3.0/src/OpenFOAM/lnInclude/ProcessorTopology.H:57:7: note:  no known conversion for argument 1 from ‘const Foam::faBoundaryMesh’ to ‘const Foam::ProcessorTopology<Foam::faPatch, Foam::processorFaPatch>&’
make: *** [Make/linux64GccDPOpt/faGlobalMeshData.o] Error 1



All times are GMT -4. The time now is 02:22.