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

Case-sensitive directories

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 8, 2010, 23:14
Default Case-sensitive directories
  #1
Member
 
Michael Roth
Join Date: Mar 2009
Location: Guelph, Ontario, Canada
Posts: 46
Rep Power: 9
roth is on a distinguished road
I've noticed some doubling-up of directories in 1.6.x, 1.7.0, and 1.7.x. i.e. two identical directories in content & name but for a lower/uppercase difference in the directory name.

As an example:
Code:
...\OpenFOAM\OpenFOAM-1.7.x\src\thermophysicalModels\specie\reaction\Reactions\
...\OpenFOAM\OpenFOAM-1.7.x\src\thermophysicalModels\specie\reaction\reactions\
There are others. I wonder if this could potentially cause difficulties down the line with code pointing to one or the other directories.

My apologies if this has been raised in the past.

Cheers
Mike
roth is offline   Reply With Quote

Old   July 9, 2010, 03:16
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 784
Rep Power: 19
olesen will become famous soon enough
Quote:
Originally Posted by roth View Post
I've noticed some doubling-up of directories in 1.6.x, 1.7.0, and 1.7.x. i.e. two identical directories in content & name but for a lower/uppercase difference in the directory name.

As an example:
Code:
...\OpenFOAM\OpenFOAM-1.7.x\src\thermophysicalModels\specie\reaction\Reactions\
...\OpenFOAM\OpenFOAM-1.7.x\src\thermophysicalModels\specie\reaction\reactions\
There are others. I wonder if this could potentially cause difficulties down the line with code pointing to one or the other directories.
But the two directories contain different things:
  • 'reactions/' contains code for compilation
  • 'Reactions/' contains template classes
On Unix-style systems there is no confusion between the names.
With the wmake system, all of the headers are available via 'lnInclude/', so the end-user wouldn't even notice anyhow.
olesen is offline   Reply With Quote

Old   July 9, 2010, 04:05
Default
  #3
Member
 
Michael Wild
Join Date: Mar 2009
Location: Bern, Switzerland
Posts: 79
Rep Power: 9
mwild is on a distinguished road
Others I found are:
  • src/OpenFOAM/{db/dictionary/d,containers/Dictionaries/D}ictionary.{C,H}
  • src/OpenFOAM/interpolations/patchToPatchInterpolation/{p,P}atchToPatchInterpolation.H
  • src/OpenFOAM/interpolations/primitivePatchInterpolation/{p,P}rimitivePatchInterpolation.H
  • src/OpenFOAM/meshes/{polyMesh/globalMeshData/p,ProcessorTopology/P}rocessorTopology.H
  • src/OpenFOAM/meshes/primitiveMesh/{primitivePatch/p,PrimitivePatch/P}rimitivePatch.H
  • src/OpenFOAM/meshes/primitiveShapes/objectHit/{p,P}ointHit.H
  • src/OpenFOAM/primitives/DiagTensor/{diagTensor/d,D}iagTensor.H
  • src/OpenFOAM/primitives/Scalar/{scalar/s,S}calar.{C,H}
  • src/OpenFOAM/primitives/SphericalTensor/{sphericalTensor/s,S}phericalTensor.H
  • src/OpenFOAM/primitives/SphericalTensor2D/{sphericalTensor2D/s,S}phericalTensor2D.H
  • src/OpenFOAM/primitives/Tensor/{tensor/t,T}ensor.H
  • src/OpenFOAM/primitives/Tensor2D/{tensor2D/t,T}ensor2D.H
  • src/OpenFOAM/primitives/Vector/{vector/v,V}ector.H
  • src/OpenFOAM/primitives/Vector2D/{vector2D/v,V}ector2D.H
  • src/OpenFOAM/primitives/random/{random.c,Random.C}
  • src/finiteVolume/cfdTools/general/fieldSources/timeActivatedExplicitSource/{t,T}imeActivatedExplicitSource.{C,H}
  • src/lagrangian/dsmc/clouds/{derived/dsmcCloud/d,Templates/DsmcCloud/D}smcCloud.H
  • src/lagrangian/dsmc/parcels/{derived/dsmcParcel/d,Templates/DsmcParcel/D}smcParcel.{C,H}
  • src/lagrangian/intermediate/clouds/{baseClasses/kinematicCloud/k,Templates/KinematicCloud/K}inematicCloud.{C,H}
  • src/lagrangian/intermediate/clouds/{baseClasses/reactingCloud/r,Templates/ReactingCloud/R}eactingCloud.{C,H}
  • src/lagrangian/intermediate/clouds/{baseClasses/reactingMultiphaseCloud/r,Templates/ReactingMultiphaseCloud/R}eactingMultiphaseCloud.{C,H}
  • src/lagrangian/intermediate/clouds/{baseClasses/thermoCloud/t,Templates/ThermoCloud/T}hermoCloud.{C,H}
  • src/lagrangian/intermediate/parcels/{baseClasses/reactingParcel/r,Templates/ReactingParcel/R},eactingParcel.{C,H}
  • applications/test/{dictionary/d,Dictionary/D}ictionaryTest.C
As long as you are using a case-sensitive file system, there are no problems (apart from possible typos).
mwild 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
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Cloning a case or creating a new case for 16 processes mellanoxuser OpenFOAM Running, Solving & CFD 0 February 8, 2008 17:52
new mesh, same case file student FLUENT 1 January 29, 2007 11:37
Doubt in unsteady case vijay FLUENT 1 April 24, 2006 11:11


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