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

OF141dev installation Woes

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 4, 2008, 17:29
Default So after several months of usi
  #1
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
So after several months of using openfoam 1.4, I've decided to compile the 1.4.1-dev version on ubuntu 8.04. However, with this there are problems. Here is my system info:

OS: Ubuntu 8.04
gcc: version 4.2.4
flex++: version 2.5.34

I have downloaded dev essentials and a plethora of other packages that were suggested on the OF forums. I new to building from source (which I'm sure is the problem), so I am reaching out for help as my dept. is lacking in computer wizards.

I have included several portions of the error stream from the ./Allwmake 1>logfile.txt command.


here is a portion of it....


lex.yy.cc:5526: error: 'yy_buffer_stack' was not declared in this scope
lex.yy.cc:5526: error: 'yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:5527: error: 'yyensure_buffer_stack' was not declared in this scope

.
.
.
/home/dcombest/OpenFOAM/OpenFOAM-1.4.1-dev/lib/linuxGccDPOpt/libtriSurface.so: undefined reference to `yyFlexLexer::yywrap()'
collect2: ld returned 1 exit status
make[2]: *** [/home/dcombest/OpenFOAM/OpenFOAM-1.4.1-dev/applications/bin/linuxGccDPOpt/conta ctStressFoam] Error 1
make[1]: *** [contactStressFoam] Error 2
.
.
.
dxFoamExec.c:3:19: error: dx/dx.h: No such file or directory
dxFoamExec.c:4:25: error: dx/modflags.h: No such file or directory
dxFoamExec.c:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DXAddModule'
dxFoamExec.c: In function '_dxf_user_modules':


I have read several posts on the `yyFlexLexer::yywrap()' error and have done everything but upgrade to flex-2.5.35 (which will be done after I post this). Can help? Could I email the full error report to have someone look at the output? Any help is much appreciated
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   June 5, 2008, 02:08
Default Have a look at: OpenFOAM-1.
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Have a look at:

OpenFOAM-1.4.1-dev/wmake/rules/General/flex++

and tell me what it says: this is where you chooses to use flex++ or foamFlex++.

Your errors are definitely related to flex. The other error, with dx.h is to do with bbuilding and using OpenDX - if you do not know what it is or don't plan to use it, they may be safely ignored. I'm sure Martin will add stuff to skip the build if dx is not there

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 9, 2008, 04:36
Default Hi, > I'm sure Martin will
  #3
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
Hi,

> I'm sure Martin will add stuff to skip the build if dx is not there :-)

Yup, this was corrected in Rev 622 on the SVN, roughly 3 weeks ago.

Martin
mbeaudoin is offline   Reply With Quote

Old   June 9, 2008, 15:43
Default Hi, Thank you so much for y
  #4
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
Hi,

Thank you so much for your help on compileing OF so far. Hopefully this will be the last question on building OF on Ubuntu. I managed to get OF to compile with everything saying it was up to date and no errors (since I deleted the dxFoamExec folder). However, when I start FoamX I get the following error:

Starting NameServer with inet:kreyszig:1234 ...
Starting FoamX Host Browser with inet:kreyszig:1234 ...
debug::switchSet(const char*, dictionary*):
Cannot find Tolerances in dictionary /home/dcombest/OpenFOAM/OpenFOAM-1.4.1-dev/.OpenFOAM-1.4.1-dev/controlDict

runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 13890).

Does this just mean i need to place the line
Tolerances 0;
in the controldict file? Also, my controldict file root list is empty. Do i need to manually type in all of the roots back into the controlDict file? Thanks

Dan
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   June 9, 2008, 15:56
Default Hi Dan, My Tolerances secti
  #5
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
Hi Dan,

My Tolerances section looks like this:

Tolerances
{
// Primitive mesh checking limits
primitiveMeshClosedThreshold 1e-6;
primitiveMeshAspectThreshold 1000;
primitiveMeshNonOrthThreshold 70;
primitiveMeshSkewThreshold 4;

// Geometric matching tolerances
cyclicMatchTol 1e-4;
processorMatchTol 1e-4;
closedDomainTol 1e-12;

// Patch-to-patch interpolation tolerances
patchToPatchDirectHit 1e-5;
patchToPatchProjectionTol 0.05;

// Thermophysical models
specieThermoTol 1e-4;

// Intersection tolerance
intersectionPlanarTol 0.2;
intersectionMissTol 1e-10;

// Sliding interface
// slidingPointMergeTol 0.2;
// slidingEdgeMergeTol 0.05;
// slidingIntegralAdjTol 0.15;
// slidingEdgeMasterCatchFraction 0.4;
// slidingEdgeEndCutoffTol 0.0001;
// slidingEdgeCoPlanarTol 0.8;

slidingPointMergeTol 0.05;
slidingEdgeMergeTol 0.01;
slidingIntegralAdjTol 0.05;
slidingEdgeMasterCatchFraction 0.4;
slidingEdgeEndCutoffTol 0.0001;
slidingEdgeCoPlanarTol 0.8;

GGIAreaErrorTol 0.01;
GGISumFacetTol 0.5;

}

Do you have one at all - I'm pretty certain this is checked into SVN.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   June 9, 2008, 16:01
Default Hi Daniel, This is strange.
  #6
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
Hi Daniel,

This is strange.

The Tolerances section is a new list of "tolerances" parameters that was introduced with OpenFOAM-1.4.1-dev. It should be there in your controlDict file for OpenFOAM-1.4.1-dev.

Have you modified that controlDict file after downloading it from the svn repository, or have you over-written the controlFile from OpenFOAM-1.4.1-dev with the controlFile from OpenFOAM-1.4.1?

Martin
mbeaudoin is offline   Reply With Quote

Old   June 9, 2008, 16:28
Default I only compiled OF and then re
  #7
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
I only compiled OF and then removed a reference to USNavy from the controldict list of roots. There is nto a tolerances section at all, I will add this to the file. here is a copy of my controlDictt file before adding tolerances:

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1-dev |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

// Foam Dictionary.

FoamFile
{
version 2.0;
format ascii;

root "";
case "";
instance "/home/dcombest/OpenFOAM/OpenFOAM-1.4.1-dev/.OpenFOAM-1.4.1-dev/apps/FoamX/../.. ";
local "";

class dictionary;
object controlDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

hosts
(
);

caseRoots
(
"."
);

DebugSwitches
{
aC11H10 0;
addCell 0;
addFace 0;
addPoint 0;
algebraicPair 0;
AMG 0;
amgCoupledInterface 0;
amgInterfaceField 0;
anisotropic 0;
APIdiffCoefFunc 0;
Ar 0;
areaScalarField 0;
areaTensorField 0;
areaVectorField 0;
atomizationModel 0;
attachDetach 0;
backward 0;
basePatch 0;
basicMesh 0;
basicMixture 0;
basicThermo 0;
bC11H10 0;
BDCG 0;
BICCG 0;
BirdCarreau 0;
blended 0;
blobsSheetAtomization 0;
blobsSwirlInjector 0;
booleanSurface 0;
boundaryCutter 0;
boundaryMesh 0;
boundaryToFace 0;
bounded 0;
boundedBackward 0;
boxToCell 0;
boxToFace 0;
boxToPoint 0;
breakupModel 0;
C10H22 0;
C12H26 0;
C13H28 0;
C14H30 0;
C16H34 0;
C2H5OH 0;
C2H6 0;
C2H6O 0;
C3H6O 0;
C3H8 0;
C4H10O 0;
C6H14 0;
C6H6 0;
C7H16 0;
C7H8 0;
C8H10 0;
C8H18 0;
C9H20 0;
calculated 0;
CallbackRegistry 0;
Cartesian 0;
cell 0;
cellClassification 0;
cellCuts 0;
cellDistFuncs 0;
cellLimited 0;
cellList 0;
cellLooper 0;
cellMDLimited 0;
cellModeller 0;
cellPoint 0;
cellPointFace 0;
cellSet 0;
cellToCell 0;
cellToFace 0;
cellToPoint 0;
cellZone 0;
CH3OH 0;
chemistryReader 0;
chemkinReader 0;
ChomiakInjector 0;
clippedLinear 0;
Cloud 0;
CoEuler 0;
CoGamma2 0;
collisionModel 0;
commonRailInjector 0;
commSchedule 0;
componentMixed 0;
compound 0;
const 0;
constant 0;
constInjector 0;
coordinateSystem 0;
corrected 0;
coupled 0;
CrankNicholson 0;
CrossPowerLaw 0;
cubeRootVol 0;
cubic 0;
cubicCorrection 0;
cyclic 0;
cyclicLduCoupledInterface 0;
cyclicLduInterface 0;
cyclicLduInterfaceField 0;
cylindrical 0;
database 0;
dataSchedule 0;
DCG 0;
DeardorffDiffStress 0;
default 0;
definedHollowConeInjector 0;
definedInjector 0;
definedPressureSwirlInjector 0;
deformationEnergy 0;
diagonal 0;
diagonalSolver 0;
diagTensorField 0;
DIC 0;
DICGaussSeidel 0;
dictionary 0;
DILU 0;
dimensionedTypes 0;
dimensionSet 1;
directCombineFaces 0;
directDuplicatePoints 0;
directHexRef8 0;
directionMixed 0;
directMappedPatch 0;
directMeshCutAndRemove 0;
directPolyTopoChange 0;
directRemoveCells 0;
directRemoveFaces 0;
directRemovePoints 0;
disallowDefaultFvPatchField 0;
dispersionLESModel 0;
dispersionModel 0;
dispersionRASModel 0;
distortionEnergy 0;
downwind 0;
dragModel 0;
dynMixedSmagorinsky 0;
dynOneEqEddy 0;
dynSmagorinsky 0;
edgeInterpolation 0;
edgeIntersections 0;
edgeList 0;
edgeScalarField 0;
edgeSurface 0;
edgeTensorField 0;
edgeVectorField 0;
elementScalarField 0;
elementTensorField 0;
elementVectorField 0;
empty 0;
engineMesh 0;
enrichedPatch 0;
entry 0;
ETAB 0;
Euler 0;
evaporationModel 0;
exponential 0;
extendedLeastSquares 0;
extendedLeastSquaresVectors 0;
fa 0;
faBoundaryMesh 0;
faceAreaPair 0;
FaceCellWave 0;
faceCoupleInfo 0;
faceLimited 0;
faceList 0;
faceMDLimited 0;
faceSet 0;
faceToCell 0;
faceToFace 0;
faceToPoint 0;
faceZone 0;
faMesh 0;
faPatchField 0;
faScalarMatrix 0;
faSchemes 0;
fastLduTriLookup 0;
faTensorMatrix 0;
faVectorMatrix 0;
FDIC 0;
featureEdgeMesh 0;
features 0;
fields 0;
fieldToCell 0;
file 0;
fileName 2;
finiteVolume 0;
fixedEnthalpy 0;
fixedFluxBuoyantPressure 0;
fixedFluxPressure 0;
fixedGradient 0;
fixedNormalSlip 0;
fixedUnburntEnthalpy 0;
fixedValue 0;
fixedValueOutflow 0;
fluxCorrectedVelocity 0;
foamChemistryReader 0;
FoamX 0;
FoamXError 0;
fourth 0;
freestream 0;
freestreamPressure 0;
fv 0;
fvMatrix 0;
fvMesh 0;
fvMeshDistribute 0;
fvMotionSolver 0;
fvPatchField 0;
fvScalarMatrix 0;
fvSchemes 0;
fvSolution 0;
fvSphericalTensorMatrix 0;
fvSymmTensorMatrix 0;
fvTensorMatrix 0;
fvVectorMatrix 0;
GAMG 0;
gamgAgglomeration 0;
gamgInterface 0;
gamgInterfaceField 0;
Gamma 0;
Gamma01 0;
Gamma2 0;
Gamma201 0;
Gamma2Limit 0;
Gamma2V 0;
GammaLimit 0;
GammaV 0;
Gauss 0;
GaussSeidel 0;
general 0;
geomCellLooper 0;
geometricFields 0;
geometricSurfacePatch 0;
global 0;
globalMeshData 0;
globalPoints 0;
globalProcessor 0;
gnuplot 0;
gradientDispersionRAS 0;
gradientEnthalpy 0;
gradientUnburntEnthalpy 0;
Gulders 0;
GuldersEGR 0;
H2O 0;
harmonic 0;
hashTable 0;
HashTable 0;
hCombustionThermo 0;
heatTransferModel 0;
hexCellLooper 0;
hexRef8 0;
hhuCombustionThermo 0;
hhuMixtureThermo<egrmixture<consttransport<speciet hermo<hconstthermo<perfectgas> >>>> 0;
hhuMixtureThermo<egrmixture<sutherlandtransport<sp eciethermo<janafthermo<perfect gas>>>>> 0;
hhuMixtureThermo<homogeneousmixture<consttransport <speciethermo<hconstthermo<per fectgas>>>>> 0;
hhuMixtureThermo<homogeneousmixture<sutherlandtran sport<speciethermo<janafthermo <perfectgas>>>>> 0;
hhuMixtureThermo<inhomogeneousmixture<consttranspo rt<speciethermo<hconstthermo<p erfectgas>>>>> 0;
hhuMixtureThermo<inhomogeneousmixture<sutherlandtr ansport<speciethermo<janafther mo<perfectgas>>>>> 0;
hhuMixtureThermo<veryinhomogeneousmixture<consttra nsport<speciethermo<hconstther mo<perfectgas>>>>> 0;
hhuMixtureThermo<veryinhomogeneousmixture<sutherla ndtransport<speciethermo<janaf thermo<perfectgas>>>>> 0;
hMixtureThermo<dieselmixture<sutherlandtransport<s peciethermo<janafthermo<perfec tgas>>>>> 0;
hMixtureThermo<homogeneousmixture<consttransport<s peciethermo<hconstthermo<perfe ctgas>>>>> 0;
hMixtureThermo<homogeneousmixture<sutherlandtransp ort<speciethermo<janafthermo<p erfectgas>>>>> 0;
hMixtureThermo<inhomogeneousmixture<consttransport <speciethermo<hconstthermo<per fectgas>>>>> 0;
hMixtureThermo<inhomogeneousmixture<sutherlandtran sport<speciethermo<janafthermo <perfectgas>>>>> 0;
hMixtureThermo<multicomponentmixture<sutherlandtra nsport<speciethermo<janaftherm o<perfectgas>>>>> 0;
hMixtureThermo<reactingmixture> 0;
hMixtureThermo<veryinhomogeneousmixture<consttrans port<speciethermo<hconstthermo <perfectgas>>>>> 0;
hMixtureThermo<veryinhomogeneousmixture<sutherland transport<speciethermo<janafth ermo<perfectgas>>>>> 0;
hollowConeInjector 0;
hThermo<puremixture<consttransport<speciethermo<hc onstthermo<perfectgas>>>>> 0;
hThermo<puremixture<sutherlandtransport<speciether mo<hconstthermo<perfectgas>>>> > 0;
hThermo<puremixture<sutherlandtransport<speciether mo<janafthermo<perfectgas>>>>> 0;
IC8H18 0;
ICCG 0;
IDEA 0;
IFstream 0;
indexedOctree 0;
indexedParticle 0;
injectorModel 0;
injectorType 0;
inletOutlet 0;
interpolations 0;
intersectedSurface 0;
inverseLinear 0;
IOobject 0;
IOptrList<injector> 0;
IOPtrList<injector> 0;
IOPtrList<mrfzone> 0;
IOPtrList<porouszone> 0;
jplot 0;
kEpsilon 0;
kOmegaSST 0;
KRR4 0;
labelField 0;
labelList 0;
labelListList 0;
labelToCell 0;
labelToFace 0;
labelToPoint 0;
LamBremhorstKE 0;
laminar 0;
laminarFlameSpeed 0;
laplace 0;
LaunderGibsonRSTM 0;
LaunderSharmaKE 0;
layerAdditionRemoval 0;
layered 0;
lduCoupledInterface 0;
lduInterface 0;
lduInterfaceField 0;
lduMatrix 1;
lduMesh 0;
leastSquares 0;
leastSquaresVectors 0;
LESdelta 0;
LESfilter 0;
LESmodel 0;
level 2;
licence 0;
LienCubicKE 0;
LienCubicKELowRe 0;
LienLeschzinerLowRe 0;
limited 0;
limitedCubic 0;
limitedCubic01 0;
limitedCubicV 0;
limitedGamma 0;
limitedLimitedCubic 0;
limitedLimitedLinear 0;
limitedLinear 0;
limitedLinear01 0;
limitedLinearV 0;
limitedMUSCL 0;
LimitedMUSCL 0;
limitedSuperBee 0;
limitedSurfaceInterpolationScheme 0;
limitedVanLeer 0;
linear 0;
linearUpwind 0;
linearUpwindV 0;
liquid 0;
LISA 0;
localBlended 0;
localMax 0;
localMin 0;
localPointRegion 0;
locDynOneEqEddy 0;
lowReOneEqEddy 0;
LRR 0;
LRRDiffStress 0;
MB 0;
mesh 0;
meshCutAndRemove 0;
meshCutter 0;
meshModifier 0;
meshMorphEngine 0;
meshSearch 0;
meshToMesh 0;
meshWave 0;
MeshWave 0;
midPoint 0;
minMod 0;
mixed 0;
mixedEnthalpy 0;
mixedSmagorinsky 0;
mixedUnburntEnthalpy 0;
modifyCell 0;
modifyFace 0;
modifyPoint 0;
motionDiff 0;
motionSmoother 0;
motionSolver 0;
movingWallVelocity 0;
multiDirRefinement 0;
multivariateSelection 0;
MUSCL 0;
MUSCL01 0;
muSgsWallFunction 0;
N2 0;
nbrToCell 0;
nearestToCell 0;
Newtonian 0;
noDragModel 0;
none 0;
NonlinearKEShih 0;
normal 0;
normalToFace 0;
NSRDSfunc0 0;
NSRDSfunc1 0;
NSRDSfunc14 0;
NSRDSfunc2 0;
NSRDSfunc3 0;
NSRDSfunc4 0;
NSRDSfunc5 0;
NSRDSfunc6 0;
NSRDSfunc7 0;
nuSgsWallFunction 0;
nutStandardRoughWallFunction 0;
nutStandardWallFunction 0;
nutWallFunction 0;
objectRegistry 0;
octree 0;
octreeDataEdges 0;
octreeDataFace 0;
octreeDataFaceList 0;
octreeDataTriSurface 0;
ODESolver 0;
off 0;
OFstream 0;
oneEqEddy 0;
orientedSurface 0;
ORourke 0;
oscillatingFixedValue 0;
outletInlet 0;
outletStabilised 0;
PackedList 0;
pair 0;
parabolicCylindrical 0;
parallelInfo 0;
parcel 0;
ParSortableList 0;
partialSlip 0;
passiveParticle 0;
patch 0;
patchEnhanced 0;
patchFields 0;
patchToFace 0;
PatchToPatchInterpolation 0;
patchZones 0;
PBiCG 0;
PCG 0;
pdf 0;
perfectInterface 0;
Phi 0;
PointEdgeWave 0;
pointIndexHitList 0;
PointPatchField 0;
pointPatchInterpolation 0;
pointScalarField 0;
pointScalarField::DimensionedInternalField 0;
pointSet 0;
pointSphericalTensorField 0;
pointSphericalTensorField::DimensionedInternalFiel d 0;
pointSymmTensorField 0;
pointSymmTensorField::DimensionedInternalField 0;
pointTensorField 0;
pointTensorField::DimensionedInternalField 0;
pointToCell 0;
pointToFace 0;
pointToPoint 0;
pointVectorField 0;
pointVectorField::DimensionedInternalField 0;
pointZone 0;
polyBoundaryMesh 0;
polyMesh 0;
polyMeshMorphEngine 0;
polyTopoChange 0;
polyTopoChanger 0;
Prandtl 0;
pressureDirectedInletOutletVelocity 0;
pressureDirectedInletVelocity 0;
pressureInletOutletVelocity 0;
pressureInletUniformVelocity 0;
pressureInletVelocity 0;
pressureSwirlInjector 0;
pressureTransmissive 0;
primitiveMesh 0;
PrimitivePatch 0;
probes 0;
processor 0;
processorLduCoupledInterface 0;
processorLduInterface 0;
processorLduInterfaceField 0;
pseudoSolid 0;
Pstream 0;
pureMixture<consttransport<speciethermo<hconstther mo<perfectgas>>>> 0;
pureMixture<sutherlandtransport<speciethermo<hcons tthermo<perfectgas>>>> 0;
pureMixture<sutherlandtransport<speciethermo<janaf thermo<perfectgas>>>> 0;
quadratic 0;
QUICK 0;
QZeta 0;
RanzMarshall 0;
raw 0;
reaction 0;
realizableKE 0;
refinementHistory 0;
refinementIterator 0;
reflect 0;
regionSplit 0;
regIOobject 0;
ReitzDiwakar 0;
ReitzKHRT 0;
remove 0;
removeCell 0;
removeCells 0;
removeFace 0;
removeFaces 0;
removePoint 0;
repatchPolyMesh 0;
reverseLinear 0;
rhoMUSCL 0;
RK 0;
RNGkEpsilon 0;
RosinRammler 0;
rotatedBoxToCell 0;
rotatingPressureInletOutletVelocity 0;
rotatingTotalPressure 0;
RutlandFlashBoil 0;
saturateEvaporationModel 0;
scalarField 0;
scaleSimilarity 0;
setUpdater 0;
SFCD 0;
SFCDV 0;
shapeList 0;
shapeToCell 0;
SHF 0;
SIBS 0;
simple 0;
skewCorrected 0;
skewCorrectionVectors 0;
skewLinear 0;
sliced 0;
slidingInterface 0;
slip 0;
Smagorinsky 0;
Smagorinsky2 0;
smooth 0;
smoothSolver 0;
solution 0;
SpalartAllmaras 0;
spectEddyVisc 0;
spherical 0;
sphericalTensorField 0;
standardDragModel 0;
standardEvaporationModel 0;
static 0;
StaticHashTable 0;
steadyState 0;
stochasticDispersionRAS 0;
string 0;
SuperBee 0;
SuperBee01 0;
supersonicFreestream 0;
surfaceFeatures 0;
surfaceInterpolation 0;
surfaceInterpolationScheme 0;
surfaceIntersection 0;
surfaceNormalFixedValue 0;
surfacePatch 0;
surfacePatchIOList 0;
surfaceScalarField 0;
surfaceScalarField::DimensionedInternalField 0;
surfaceSnap 0;
surfaceSphericalTensorField 0;
surfaceSphericalTensorField::DimensionedInternalFi eld 0;
surfaceSymmTensorField 0;
surfaceSymmTensorField::DimensionedInternalField 0;
surfaceTensorField 0;
surfaceTensorField::DimensionedInternalField 0;
surfaceToCell 0;
surfaceToPoint 0;
surfaceVectorField 0;
surfaceVectorField::DimensionedInternalField 0;
swirlInjector 0;
symmetryPlane 0;
symmTensorField 0;
syringePressure 0;
TAB 0;
tensorField 0;
tetFemMatrix 0;
tetFemScalarMatrix 0;
tetFemTensorMatrix 0;
tetFemVectorMatrix 0;
tetPointScalarField 0;
tetPointTensorField 0;
tetPointVectorField 0;
tetPolyMesh 0;
tetPolyPatchFields 0;
thermo 0;
thermophysicalFunction 0;
time 0;
timer 0;
timeVaryingMappedFixedValue 0;
timeVaryingUniformFixedValue 0;
topoAction 0;
topoCellLooper 0;
topoSet 0;
topoSetSource 0;
toroidal 0;
totalPressure 0;
totalTemperature 0;
trajectory 0;
transform 0;
transportModel 0;
treeDataTriSurface 0;
treeLeaf 0;
treeNode 0;
triSurface 0;
turbulenceModel 0;
turbulentInlet 0;
UMIST 0;
uncorrected 0;
undoableMeshCutter 0;
uniform 0;
uniformFixedValue 0;
unitInjector 0;
unix 0;
Unix 0;
upwind 0;
value 0;
valueStored 0;
vanDriest 0;
vanLeer 0;
vanLeer01 0;
vanLeerV 0;
vector 0;
vector2DField 0;
vectorField 0;
viscosityModel 0;
volPointInterpolation 0;
volScalarField 0;
volScalarField::DimensionedInternalField 0;
volSphericalTensorField 0;
volSphericalTensorField::DimensionedInternalField 0;
volSymmTensorField 0;
volSymmTensorField::DimensionedInternalField 0;
volTensorField 0;
volTensorField::DimensionedInternalField 0;
volVectorField 0;
volVectorField::DimensionedInternalField 0;
walkPatch 0;
wall 0;
wallBuoyantPressure 0;
wallHeatTransfer 0;
wallLayerCells 0;
wallModel 0;
waveTransmissive 0;
wedge 0;
weighted 0;
word 2;
writer 0;
xmgr 0;
zeroGradient 0;
zoneToCell 0;
zoneToFace 0;
zoneToPoint 0;
}

InfoSwitches
{
writePrecision 6;
writeJobInfo 0;
FoamXwriteComments 0;
}

OptimisationSwitches
{
fileModificationSkew 10;
scheduledTransfer 0;
floatTransfer 1;
nProcsSimpleSum 0;
}

DimensionedConstants
{
R 8314.51;
Pstd 100000;
Tstd 298.15;
}


// ************************************************** *********************** //
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   June 9, 2008, 16:39
Default After opening FoamX I tried to
  #8
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
After opening FoamX I tried to add the caseroot to icoFoam. after refreshing the host is gave me the error about the tolerance file not being found again. Sure enough the Tolerances section was removed from controldict.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   June 9, 2008, 17:31
Default You mean that FoamX is somehow
  #9
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
You mean that FoamX is somehow overwriting your main controlDict file, and by doing so removes the Tolerances section?

What is the results of the following 4 commands on your machine:

which FoamX

ldd `which FoamXCaseBrowser`

ldd `which FoamXCaseServer`

ldd `which FoamXHostBrowser`


Martin
mbeaudoin is offline   Reply With Quote

Old   June 12, 2008, 11:58
Default The Tolerances section is eras
  #10
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
The Tolerances section is erased when I add a path to a case root through FoamX. I just enter the case root and close the entry window and quit FoamX. When I start FoamX again, it says that the tolerances section is missing.
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan is offline   Reply With Quote

Old   June 12, 2008, 18:15
Default Hello, The problem is cause
  #11
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
Hello,

The problem is caused by some configuration files specific to FoamX that were not updated to take into account the new Tolerances section.

A fix has just been uploaded on the openfoam-extend svn repository.

In order for you to update your local installation of OpenFOAM-1.4.1-dev, you will have to do the following:

cd $FOAMX_CONFIG/dictionaries/OpenFOAMControlDict
svn update

Depending on how old your version of OpenFOAM-1.4.1-dev is, you might also have to update your main controlDict file.

Just make sure to backup your original controlDict file first, just in case you have made some modifications in there.

Then:

cd $WM_PROJECT_DIR/$FOAM_DOT_DIR
svn update controlDict

Martin
mbeaudoin is offline   Reply With Quote

Old   July 10, 2008, 04:59
Default Hi everyone, I want to ins
  #12
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 8
fw407 is on a distinguished road
Hi everyone,

I want to install OF-1.4-dev in my machine, as I don't use FoamX and no desire to run in parallel so far, from some threads I have read before, I know that not all of the files in the website needed to be downloded and installed, Could anyone tell me which one must be installed for my case?

Many thanks

feng
fw407 is offline   Reply With Quote

Old   July 18, 2008, 11:11
Default Hi Daniel, I am using ubunt
  #13
Member
 
feng wang
Join Date: Mar 2009
Posts: 67
Rep Power: 8
fw407 is on a distinguished road
Hi Daniel,

I am using ubuntu7.10 and have the same problems with you in the flex,Could you share some experience on how to fix it?

Thanks in advance

feng
fw407 is offline   Reply With Quote

Old   July 18, 2008, 17:16
Default the `yyFlexLexer::yywrap()' er
  #14
Senior Member
 
chegdan's Avatar
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 535
Rep Power: 18
chegdan will become famous soon enough
the `yyFlexLexer::yywrap()' errors.
Have a look at this thread.
http://www.cfd-online.com/OpenFOAM_D...s/1/7503.html?

So, I just substituted the line:
extern "C" int yywrap()
with
int yyFlexLexer::yywrap()

in 5 files:
1. $WM_PROJECT_DIR/src/triSurface/triSurface/interfaces/STL/readSTLASCII.L
2. $WM_PROJECT_DIR/applications/utilities/mesh/conversion/gambitToFoam/gambitToFoam .L
3. $WM_PROJECT_DIR/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent MeshToFoam.L
4. $WM_PROJECT_DIR/applications/utilities/mesh/conversion/fluentMeshToFoam/fluentMe shToFoam.L
5. $WM_PROJECT_DIR/applications/utilities/mesh/conversion/ansysToFoam/ansysToFoam.L

This worked for me, but may require the ./Allwmake command a few times to get through the compilation. Hope this helps
__________________
Dan

Find me on twitter @dancombest and LinkedIn
chegdan 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
New AMG Solvers in OF141dev SVN philippose OpenFOAM Running, Solving & CFD 8 July 27, 2009 14:52
Installation of OF141dev on redhatEL 64bits problems with Allmake young OpenFOAM Installation 3 May 1, 2008 00:42
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
SimpleFoam woes msrinath80 OpenFOAM Bugs 2 April 13, 2007 10:15
Gambit/Iges woes Akin FLUENT 0 January 31, 2005 07:45


All times are GMT -4. The time now is 19:34.