# Second Derivative Zero - Boundary Condition

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

 June 21, 2011, 04:52 Second Derivative Zero - Boundary Condition #1 New Member   Fu Join Date: Jun 2010 Location: India Posts: 4 Rep Power: 8 Hi Everybody ! Greetings I am doing a natural convection problem in which i want to put second derivative of a scalar =0. How can i implement it in openFoam? Mathematically or Thanks and Regards Fuki

 June 22, 2011, 17:28 #2 Senior Member   Eugene de Villiers Join Date: Mar 2009 Posts: 725 Rep Power: 13 There might be other ways, but I use a fixed gradient boundary and then set the gradient on the boundary equal to n.grad(f) in the near wall cell. So if the gradient normal to the wall is equal to that in the adjacent cell then the "gradient of the gradient" is zero. Of course this is explicit and therefore lags the solution by an iteration. Eugene verby and fu-ki-pa like this.

 June 23, 2011, 03:56 #3 New Member   Fu Join Date: Jun 2010 Location: India Posts: 4 Rep Power: 8 Thank a lot Eugene !

 June 25, 2011, 13:51 #4 Member   Mohammad.R.Shetab Join Date: Jul 2010 Posts: 49 Rep Power: 8 Dear Eugene You're right, and that's smart!! But would you tell me please how would you implement that fixedGradient boundary condition?! I think you would write a new boundary condition and edit the codes in fxedGradient, or do you have any other way? Thank you Mohammadreza

 June 27, 2011, 17:06 #5 Senior Member   Eugene de Villiers Join Date: Mar 2009 Posts: 725 Rep Power: 13 No you don't edit fixedGradient. You find another boundary that is derived from fixedGradient, copy it to another name and then edit it.

 June 28, 2011, 07:28 #6 New Member   jawed mustafa Join Date: Jun 2011 Posts: 2 Rep Power: 0 Dear Eugene, can you shed more light on its implementation jawed

June 29, 2011, 04:05
#7
Senior Member

Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 13
Well, you calculate the gradient of the field in question and then for each face in your boundary find the the cell adjacent to it. You then set the gradient on the boundary equal to the surface normal component of the gradient in the near-wall cell. To make things more cost-effective, you probably want to calculate the gradient once per iteration and then store it in the database.

Attached should be an old version of such a boundary I made for use with boundaryFoam. Note it does not have any cost-reduction measures in place - you will have to figure these out yourself.
Attached Files

 June 29, 2011, 04:57 #8 New Member   jawed mustafa Join Date: Jun 2011 Posts: 2 Rep Power: 0 Dear Eugene, it seems to work thanks for the patch jawed

July 3, 2011, 20:58
#9
Member

Join Date: Jul 2010
Posts: 49
Rep Power: 8
Dear Eugene,

Would you please tell me how to compile your bc. I have both openFOAMs 1.5-dev & 1.7.1. In 1.5-dev it has an error finding "uniformDimensionedFields.H". It seems that there is no such file in OF-1.5-dev. But in 1.7.1 it would give another error that is:

Quote:
 /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../../lib/crt1.o: In function _start': (.text+0x18): undefined reference to main' Make/linuxGccSPOpt/nearWallDist.o: In function Foam::nearWallDist::doAll()': nearWallDist.C.text+0x19b): undefined reference to Foam::cellDistFuncs::cellDistFuncs(FoamlyMesh const&)' nearWallDist.C.text+0x1c9): undefined reference to Foam::cellDistFuncs::maxPatchSize(Foam::HashSet > const&) const' nearWallDist.C.text+0x2f9): undefined reference to Foam::cellDistFuncs::getPointNeighbours(Foam::Pri mitivePatch > const&, Foam::Vector > const&, int, Foam::List&) const' nearWallDist.C.text+0x34a): undefined reference to Foam::cellDistFuncs::smallestDist(Foam::Vector const&, FoamlyPatch const&, int, Foam::List const&, int&) const' Make/linuxGccSPOpt/wallDist.o: In function Foam::wallDist::correct()': wallDist..text+0x2ad): undefined reference to Foam:atchWave:atchWave(FoamlyMesh const&, Foam::HashSet > const&, bool)' wallDist.C.text+0x58b): undefined reference to Foam:atchWave::~patchWave()' wallDist.C.text+0x640): undefined reference to Foam:atchWave::~patchWave()' Make/linuxGccSPOpt/wallDist.o: In function Foam::wallDist::wallDist(Foam::fvMesh const&, bool)': wallDist.C.text+0xeba): undefined reference to Foam::cellDistFuncs::cellDistFuncs(FoamlyMesh const&)' Make/linuxGccSPOpt/wallDist.o: In function Foam::wallDist::wallDist(Foam::fvMesh const&, bool)': wallDist.C.text+0x124a): undefined reference to Foam::cellDistFuncs::cellDistFuncs(FoamlyMesh const&)' Make/linuxGccSPOpt/wallDistReflection.o: In function Foam::FaceCellWave > >::readFaces(int&, Foam::List&, Foam::List > >&, Foam::Istream&)': wallDistReflection.C.text._ZN4Foam12FaceCellWaveIN S_13wallPointDataINS_6VectorIfEEEEE9readFacesERiRN S_4ListIiEERNS7_IS4_EERNS_7IstreamE[Foam::FaceCellWave > >::readFaces(int&, Foam::List&, Foam::List > >&, Foam::Istream&)]+0x9e): undefined reference to Foamerator>>(Foam::Istream&, Foam::wallPoint&)' Make/linuxGccSPOpt/wallDistReflection.o: In function Foam::FaceCellWave > >::writeFaces(int, Foam::List const&, . . . . . Foam::directMappedVelocityFluxFixedValueFvPatchFi eld::directMappedVelocityFluxFixedValueFvPatchFiel d(Foam::fvPatch const&, Foam:imensionedField, Foam::volMesh> const&, Foam::dictionary const&)': directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x2bea): undefined reference to typeinfo for Foam::directMappedPatchBase' directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x2c15): undefined reference to typeinfo for Foam::directMappedPolyPatch' directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x2d40): undefined reference to Foam::directMappedPatchBase::typeName' directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x2e27): undefined reference to Foam::directMappedPatchBase::calcMapping() const' directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x3043): undefined reference to Foam::directMappedPolyPatch::typeName' directMappedVelocityFluxFixedValueFvPatchField.Cte xt+0x306b): undefined reference to typeinfo for Foam::directMappedPolyPatch' Make/linuxGccSPOpt/directMappedVelocityFluxFixedValueFvPatchField.o: In function Foam::directMappedVelocityFluxFixedValueFvPatchFi eld::directMappedVelocityFluxFixedValueFvPatchFiel d(Foam::fvPatch const&, Foam:imensionedField, Foam::volMesh> const&, Foam::dictionary const&)': directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x319a): undefined reference to typeinfo for Foam::directMappedPatchBase' directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x31c5): undefined reference to typeinfo for Foam::directMappedPolyPatch' directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x32f0): undefined reference to Foam::directMappedPatchBase::typeName' directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x33d7): undefined reference to Foam::directMappedPatchBase::calcMapping() const' directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x35f3): undefined reference to Foam::directMappedPolyPatch::typeName' directMappedVelocityFluxFixedValueFvPatchField.C.t ext+0x361b): undefined timeVaryingMappedPressureDirectedInletVelocityFvPa tchVectorField.C.text._ZN4Foam39timeVaryingMappedF ixedValueFvPatchFieldINS_6VectorIfEEE16readSampleP ointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x75d): undefined reference to Foam::triSurface::write(Foam::fileName const&, bool) const' timeVaryingMappedPressureDirectedInletVelocityFvPa tchVectorField.C.text._ZN4Foam39timeVaryingMappedF ixedValueFvPatchFieldINS_6VectorIfEEE16readSampleP ointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0xa1d): undefined reference to Foam::triSurfaceTools::calcInterpolationWeights(F oam::triSurface const&, Foam::Field > const&, Foam::List >&, Foam::List >&)' timeVaryingMappedPressureDirectedInletVelocityFvPa tchVectorField.C.text._ZN4Foam39timeVaryingMappedF ixedValueFvPatchFieldINS_6VectorIfEEE16readSampleP ointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0xc12): undefined reference to Foam::triSurface::~triSurface()' timeVaryingMappedPressureDirectedInletVelocityFvPa tchVectorField.C.text._ZN4Foam39timeVaryingMappedF ixedValueFvPatchFieldINS_6VectorIfEEE16readSampleP ointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x15a9): undefined reference to Foam::triSurface::~triSurface()' Make/linuxGccSPOpt/timeVaryingMappedFixedValueFvPatchFields.o: In function Foam::timeVaryingMappedFixedValueFvPatchField::readSamplePoints()': timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldIfE 16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField::readSamplePoints()]+0x4e9): undefined reference to Foam::coordinateSystem::coordinateSystem(Foam::wo rd const&, Foam::Vector const&, Foam::Vector const&, Foam::Vector const&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldIfE 16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField::readSamplePoints()]+0x5f9): undefined reference to Foam::triSurfaceTools::delaunay2D(Foam::List > const&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldIfE 16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField::readSamplePoints()]+0x725): undefined reference to Foam::triSurface::write(Foam::fileName const&, bool) const' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldIfE 16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField::readSamplePoints()]+0x9e5): undefined reference to Foam::triSurfaceTools::calcInterpolationWeights(F oam::triSurface const&, Foam::Field > const&, Foam::List >&, Foam::List >&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldIfE 16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField::readSamplePoints()]+0xbcb): undefined reference to Foam::triSurface::~triSurface()' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldIfE 16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField::readSamplePoints()]+0x156c): undefined reference to Foam::triSurface::~triSurface()' Make/linuxGccSPOpt/timeVaryingMappedFixedValueFvPatchFields.o: In function Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()': timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _6TensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x4e9): undefined reference to Foam::coordinateSystem::coordinateSystem(Foam::wo rd const&, Foam::Vector const&, Foam::Vector const&, Foam::Vector const&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _6TensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x5f9): undefined reference to Foam::triSurfaceTools::delaunay2D(Foam::List > const&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _6TensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x725): undefined reference to Foam::triSurface::write(Foam::fileName const&, bool) const' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _6TensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x9e5): undefined reference to Foam::triSurfaceTools::calcInterpolationWeights(F oam::triSurface const&, Foam::Field > const&, Foam::List >&, Foam::List >&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _6TensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0xbcb): undefined reference to Foam::triSurface::~triSurface()' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _6TensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x156c): undefined reference to Foam::triSurface::~triSurface()' Make/linuxGccSPOpt/timeVaryingMappedFixedValueFvPatchFields.o: In function Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()': timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _15SphericalTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x4e9): undefined reference to Foam::coordinateSystem::coordinateSystem(Foam::wo rd const&, Foam::Vector const&, Foam::Vector const&, Foam::Vector const&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _15SphericalTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x5f9): undefined reference to Foam::triSurfaceTools::delaunay2D(Foam::List > const&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _15SphericalTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x725): undefined reference to Foam::triSurface::write(Foam::fileName const&, bool) const' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _15SphericalTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x9e5): undefined reference to Foam::triSurfaceTools::calcInterpolationWeights(F oam::triSurface const&, Foam::Field > const&, Foam::List >&, Foam::List >&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _15SphericalTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0xbcb): undefined reference to Foam::triSurface::~triSurface()' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _15SphericalTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x156c): undefined reference to Foam::triSurface::~triSurface()' Make/linuxGccSPOpt/timeVaryingMappedFixedValueFvPatchFields.o: In function Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()': timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _10SymmTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x4e9): undefined reference to Foam::coordinateSystem::coordinateSystem(Foam::wo rd const&, Foam::Vector const&, Foam::Vector const&, Foam::Vector const&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _10SymmTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x5f9): undefined reference to Foam::triSurfaceTools::delaunay2D(Foam::List > const&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _10SymmTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x725): undefined reference to Foam::triSurface::write(Foam::fileName const&, bool) const' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _10SymmTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x9e5): undefined reference to Foam::triSurfaceTools::calcInterpolationWeights(F oam::triSurface const&, Foam::Field > const&, Foam::List >&, Foam::List >&)' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _10SymmTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0xbcb): undefined reference to Foam::triSurface::~triSurface()' timeVaryingMappedFixedValueFvPatchFields.C.text._Z N4Foam39timeVaryingMappedFixedValueFvPatchFieldINS _10SymmTensorIfEEE16readSamplePointsEv[Foam::timeVaryingMappedFixedValueFvPatchField >::readSamplePoints()]+0x156c): undefined reference to Foam::triSurface::~triSurface()' Make/linuxGccSPOpt/porousZone.o: In function FoamrousZone::writeDict(Foam::Ostream&, bool) const': porousZone.C.text+0x1224): undefined reference to Foam::coordinateSystem::writeDict(Foam::Ostream&, bool) const' Make/linuxGccSPOpt/porousZone.o: In function FoamrousZonerousZone(Foam::word const&, Foam::fvMesh const&, Foam::dictionary const&)': porousZone.C.text+0x1813): undefined reference to Foam::coordinateSystem::coordinateSystem(Foam::di ctionary const&, Foam:bjectRegistry const&)' porousZone.C.text+0x2b84): undefined reference to Foam::coordinateSystem::~coordinateSystem()' Make/linuxGccSPOpt/porousZone.o: In function FoamrousZonerousZone(Foam::word const&, Foam::fvMesh const&, Foam::dictionary const&)': porousZone.C.text+0x2df3): undefined reference to Foam::coordinateSystem::coordinateSystem(Foam::di ctionary const&, Foam:bjectRegistry const&)' porousZone.C.text+0x4103): undefined reference to Foam::coordinateSystem::~coordinateSystem()' Make/linuxGccSPOpt/porousZone.o: In function FoamrousZone::~porousZone()': porousZone.C.text._ZN4Foam10porousZoneD1Ev[FoamousZone::~porousZone()]+0x4f): undefined reference to Foam::coordinateSystem::~coordinateSystem()' Make/linuxGccSPOpt/porousZone.o: In function FoamrousZone::~porousZone()': porousZone.C.text._ZN4Foam10porousZoneD0Ev[FoamrousZone::~porousZone()]+0x53): undefined reference to Foam::coordinateSystem::~coordinateSystem()' Make/linuxGccSPOpt/MRFZone.o: In function Foam::MRFZone::setMRFFaces()': MRFZone.C.text+0x194a): undefined reference to Foam::faceSet::faceSet(FoamlyMesh const&, Foam::word const&, Foam::HashSet > const&, Foam::IOobject::writeOption)' MRFZone.C.text+0x1a98): undefined reference to Foam::faceSet::faceSet(FoamlyMesh const&, Foam::word const&, int, Foam::IOobject::writeOption)' MRFZone.C.text+0x1f67): undefined reference to Foam::faceSet::~faceSet()' MRFZone.C.text+0x1f75): undefined reference to Foam::faceSet::~faceSet()' MRFZone.C.text+0x1f83): undefined reference to Foam::faceSet::~faceSet()' MRFZone.C.text+0x21d4): undefined reference to Foam::faceSet::faceSet(FoamlyMesh const&, Foam::word const&, int, Foam::IOobject::writeOption)' MRFZone.C.text+0x26b9): undefined reference to Foam::faceSet::~faceSet()' MRFZone.C.text+0x2720): undefined reference to Foam::faceSet::~faceSet()' MRFZone.C.text+0x2766): undefined reference to Foam::faceSet::~faceSet()' MRFZone.C.text+0x27aa): undefined reference to Foam::faceSet::~faceSet()' Make/linuxGccSPOpt/pressureGradientExplicitSource.o: In function Foam:ressureGradientExplicitSource:ressureGradien tExplicitSource(Foam::word const&, Foam::GeometricField, Foam::fvPatchField, Foam::volMesh>&)': pressureGradientExplicitSource.C.text+0x559): undefined reference to Foam::topoSetSource::New(Foam::word const&, Foam:olyMesh const&, Foam::dictionary const&)' pressureGradientExplicitSource.C.text+0x61c): undefined reference to Foam::cellSet::cellSet(FoamlyMesh const&, Foam::word const&, int, Foam::IOobject::writeOption)' pressureGradientExplicitSource.C.text+0xe87): undefined reference to Foam::cellSet::~cellSet()' Make/linuxGccSPOpt/pressureGradientExplicitSource.o: In function Foam:ressureGradientExplicitSource:ressureGradien tExplicitSource(Foam::word const&, Foam::GeometricField, Foam::fvPatchField, Foam::volMesh>&)': pressureGradientExplicitSource.C.text+0x1759): undefined reference to Foam::topoSetSource::New(Foam::word const&, FoamlyMesh const&, Foam::dictionary const&)' pressureGradientExplicitSource.C.text+0x181c): undefined reference to Foam::cellSet::cellSet(FoamlyMesh const&, Foam::word const&, int, Foam::IOobject::writeOption)' pressureGradientExplicitSource.C.text+0x2087): undefined reference to Foam::cellSet::~cellSet()' Make/linuxGccSPOpt/basicSource.o: In function Foam::basicSource::setCellSet()': basicSource.C.text+0x1430): undefined reference to Foam::cellSet::cellSet(FoamlyMesh const&, Foam::word const&, Foam::IOobject::readOption, Foam::IOobject::writeOption)' basicSource.C.text+0x147d): undefined reference to Foam::cellSet::~cellSet()' basicSource.C.text+0x164c): undefined reference to Foam::cellSet::~cellSet()' collect2: ld returned 1 exit status make: *** [OpenFOAM.out] Error 1
I just copy the extrapolatedGradient folder in the path :

could you please tell me how can I compile that?!!

Thanks

 December 23, 2013, 08:17 #10 Member   Thamali Join Date: Jul 2013 Posts: 55 Rep Power: 5 Did you get through these errors,although it is too late to ask this from you.I got similar type of errors.Il put them below.Please see whether you can help me.Im stucked at this point for some days. thamali@thamali-VirtualBox:~/OpenFOAM/thamali-2.2.2/applications/solvers/my_fireFoam11\$ Make/linuxGccDPOpt/my_fireFoam.o: In function Foam::fv::laplacianScheme >::New(Foam::fvMesh const&, Foam::Istream&)': my_fireFoam.C.text._ZN4Foam2fv15laplacianSchemeI dNS_6VectorIdEEE3NewERKNS_6fvMeshERNS_7IstreamE[Foam::fv::laplacianScheme >::New(Foam::fvMesh const&, Foam::Istream&)]+0x53): undefined reference to Foam::fv::laplacianScheme >::IstreamConstructorTablePtr_' my_fireFoam.C.text._ZN4Foam2fv15laplacianSchemeI dNS_6VectorIdEEE3NewERKNS_6fvMeshERNS_7IstreamE[Foam::fv::laplacianScheme >::New(Foam::fvMesh const&, Foam::Istream&)]+0x1a5): undefined reference to Foam::fv::laplacianScheme >::IstreamConstructorTablePtr_' my_fireFoam.C.text._ZN4Foam2fv15laplacianSchemeI dNS_6VectorIdEEE3NewERKNS_6fvMeshERNS_7IstreamE[Foam::fv::laplacianScheme >::New(Foam::fvMesh const&, Foam::Istream&)]+0x1d5): undefined reference to Foam::fv::laplacianScheme >::IstreamConstructorTablePtr_' collect2: ld returned 1 exit status make: *** [/home/thamali/OpenFOAM/thamali-2.2.2/platforms/linuxGccDPOpt/bin/my_fireFoam] Error 1

May 1, 2014, 16:26
#11
New Member

Join Date: May 2013
Posts: 3
Rep Power: 5
Quote:
 Originally Posted by eugene Attached should be an old version of such a boundary I made for use with boundaryFoam. Note it does not have any cost-reduction measures in place - you will have to figure these out yourself.
Would it be possible to edit this patch type to include vectors as well? Thanks for any advice or info.

 Tags boundary condition, natural convection, openfoam

 Thread Tools Display Modes Linear Mode

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

 Similar Threads Thread Thread Starter Forum Replies Last Post Thomas P. Abraham Main CFD Forum 20 July 7, 2013 05:05 murali CFX 5 August 3, 2012 08:56 CFD XUE FLUENT 0 July 9, 2010 02:53 CFD XUE FLUENT 0 July 8, 2010 06:49 smn CFX 5 November 24, 2009 07:37

All times are GMT -4. The time now is 00:56.