CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from Other Sources

New book: The OpenFOAM Technology Primer

Register Blogs Community New Posts Updated Threads Search

Like Tree39Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2014, 15:07
Default
  #21
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi,

When I tried to download the example and case files using git, I got the following error. I am wondering if any one here can post a solution. Thanks!

Pei-Ying
-------------------

Cloning into 'primer-examples'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
phsieh2005 is offline   Reply With Quote

Old   October 11, 2014, 04:46
Default
  #22
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Quote:
Originally Posted by phsieh2005 View Post
Hi,

When I tried to download the example and case files using git, I got the following error. I am wondering if any one here can post a solution. Thanks!

Pei-Ying
-------------------

Cloning into 'primer-examples'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Hi Pei-Ying,

the commands were wrong, this was my mistake. When you try to clone the git repository from bitbucket using

Code:
git clone git@bitbucket.org
bitbucket service expects you to have a configured SSH access to the server.

Try using these two commands instead:

Code:
git clone https://sourceflux@bitbucket.org/sourceflux/primer-examples.git
git clone https://sourceflux@bitbucket.org/sourceflux/primer-example-cases.git
and let me know if it works for you. I've tested them on a VM where I don't have SSH access to the bitbucket account and they are running on my side.

Thank you very much for the feedback!

Tomislav
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   October 11, 2014, 10:37
Default
  #23
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Tomisla,

Thanks!

These 2 commands worked for me.

Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   October 11, 2014, 10:47
Default
  #24
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Tomislav,

I am wondering if you can help me out with 2 things about the primer-examples.

1. On the installation page, it said using "./Allwcmake". I will assume that this is a type
Code:
cd primer-examples
. etc/bashrc
./Allwcmake
2. Allwmake failed compilation. I received a couple of errors (will attach below).
Am I missing anything? I am using the latest OpenFOAM-2.3.x from git.

Thanks!

Pei-Ying
Code:
phsieh@taipei:~/OpenFOAM/primer-examples> ./Allwmake
wmakeLnInclude: linking include files to ./lnInclude
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file isoBubble.C
SOURCE=isoBubble.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/triSurface/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/surfMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/surfMesh/MeshedSurfaceProxy/ -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude  -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/isoBubble.o
'/home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/lib/libbubbleCalc.so' is up to date.
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file tabulatedRigidBodyDisplacement/tabulatedRigidBodyDisplacementPointPatchVectorField.C
Making dependency list for source file recirculationControl/recirculationControlFvPatchFields.C
SOURCE=tabulatedRigidBodyDisplacement/tabulatedRigidBodyDisplacementPointPatchVectorField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicFvMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/fileFormats/lnInclude  -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/tabulatedRigidBodyDisplacementPointPatchVectorField.o
SOURCE=recirculationControl/recirculationControlFvPatchFields.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicFvMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/fileFormats/lnInclude  -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/recirculationControlFvPatchFields.o
'/home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/lib/libprimerBoundaryConditions.so' is up to date.
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file interpolatedSplineViscosityModel/interpolatedSplineViscosityModel.C
SOURCE=interpolatedSplineViscosityModel/interpolatedSplineViscosityModel.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I.. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/interpolatedSplineViscosityModel.o
'/home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/lib/libprimerTransportModels.so' is up to date.
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file primerFunctionObjects/wettedCellsFunctionObject/wettedCellsFunctionObject.C
Making dependency list for source file cppFunctionObjects/fieldCellSet/fieldCellSet.C
SOURCE=primerFunctionObjects/wettedCellsFunctionObject/wettedCellsFunctionObject.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/wettedCellsFunctionObject.o
SOURCE=cppFunctionObjects/fieldCellSet/fieldCellSet.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/fieldCellSet.o
'/home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/lib/libprimerFunctionObjects.so' is up to date.
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file dynamicSolidBodyMotionRefinedFvMesh/dynamicSolidBodyMotionRefinedFvMesh.C
SOURCE=dynamicSolidBodyMotionRefinedFvMesh/dynamicSolidBodyMotionRefinedFvMesh.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicFvMesh/lnInclude  -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/dynamicSolidBodyMotionRefinedFvMesh.o
dynamicSolidBodyMotionRefinedFvMesh/dynamicSolidBodyMotionRefinedFvMesh.C: In member function ‘virtual bool Foam::dynamicSolidBodyMotionRefinedFvMesh::update()’:
dynamicSolidBodyMotionRefinedFvMesh/dynamicSolidBodyMotionRefinedFvMesh.C:132:18: error: no matching function for call to ‘Foam::dynamicSolidBodyMotionRefinedFvMesh::changing(bool)’
     changing(true); 
                  ^
dynamicSolidBodyMotionRefinedFvMesh/dynamicSolidBodyMotionRefinedFvMesh.C:132:18: note: candidate is:
In file included from /home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/fvMesh.H:50:0,
                 from /home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicFvMesh/lnInclude/dynamicFvMesh.H:39,
                 from /home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicFvMesh/lnInclude/dynamicRefineFvMesh.H:71,
                 from dynamicSolidBodyMotionRefinedFvMesh/dynamicSolidBodyMotionRefinedFvMesh.H:45,
                 from dynamicSolidBodyMotionRefinedFvMesh/dynamicSolidBodyMotionRefinedFvMesh.C:31:
/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude/polyMesh.H:516:18: note: bool Foam::polyMesh::changing() const
             bool changing() const
                  ^
/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude/polyMesh.H:516:18: note:   candidate expects 0 arguments, 1 provided
make: *** [Make/linux64GccDPOpt/dynamicSolidBodyMotionRefinedFvMesh.o] Error 1
Making dependency list for source file testDebugging.C
Making dependency list for source file testFieldCellSet.C
Making dependency list for source file testProfiling.C
Making dependency list for source file testSmartPointers.C
SOURCE=testProfiling.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/testProfiling.o
SOURCE=testSmartPointers.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -fno-elide-constructors -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/testSmartPointers.o
SOURCE=testFieldCellSet.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/primer-examples/src/lnInclude  -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/testFieldCellSet.o
SOURCE=testDebugging.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/testDebugging.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/testProfiling.o -L/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib \
     -lfiniteVolume -lOpenFOAM -ldl   -lm -o /home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/bin/testProfiling
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -fno-elide-constructors -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/testSmartPointers.o -L/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib \
     -lfiniteVolume -lOpenFOAM -ldl   -lm -o /home/phsieh/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/bin/testSmartPointers
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/testDebugging.o -L/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib \
     -lfiniteVolume -lOpenFOAM -ldl   -lm -o /home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/bin/testDebugging
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/primer-examples/src/lnInclude  -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/testFieldCellSet.o -L/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib \
     -L/home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/lib -lfiniteVolume -lmeshTools -lprimerFunctionObjects -lOpenFOAM -ldl   -lm -o /home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/bin/testFieldCellSet
Making dependency list for source file isoSurfaceBubbleCalculator.C
SOURCE=isoSurfaceBubbleCalculator.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/triSurface/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/surfMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/home/phsieh/OpenFOAM/primer-examples/src/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/isoSurfaceBubbleCalculator.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/triSurface/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/surfMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -I/home/phsieh/OpenFOAM/primer-examples/src/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/isoSurfaceBubbleCalculator.o -L/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib \
     -L/home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/lib -lfiniteVolume -ltriSurface -lsampling -lbubbleCalc -lOpenFOAM -ldl   -lm -o /home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/bin/isoSurfaceBubbleCalculator
Making dependency list for source file heatTransferTwoPhaseSolver.C
Making dependency list for source file scalarTransportDyMSolver.C
SOURCE=scalarTransportDyMSolver.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/fvOptions/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicFvMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/scalarTransportDyMSolver.o
SOURCE=heatTransferTwoPhaseSolver.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/twoPhaseMixture/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/transportModels -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/interfaceProperties/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/fvOptions/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/heatTransferTwoPhaseSolver.o
In file included from heatTransferTwoPhaseSolver.C:101:0:
pEqn.H: In function ‘int main(int, char**)’:
pEqn.H:12:9: error: ‘ddtPhiCorr’ is not a member of ‘Foam::fvc’
       + fvc::ddtPhiCorr(rAU, rho, U, phi)
         ^
In file included from heatTransferTwoPhaseSolver.C:66:0:
/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable]
 scalar maxDeltaT =
        ^
make[1]: *** [Make/linux64GccDPOpt/heatTransferTwoPhaseSolver.o] Error 1
make[1]: Target `/home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/bin/heatTransferTwoPhaseSolver' not remade because of errors.
make: *** [heatTransferTwoPhaseSolver] Error 2
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/fvOptions/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/dynamicFvMesh/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/sampling/lnInclude -IlnInclude -I. -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/scalarTransportDyMSolver.o -L/home/phsieh/OpenFOAM/OpenFOAM-2.3.x/platforms/linux64GccDPOpt/lib \
     -lfiniteVolume -lfvOptions -lmeshTools -ldynamicMesh -ldynamicFvMesh -lsampling -lOpenFOAM -ldl   -lm -o /home/phsieh/OpenFOAM/phsieh-2.3.x/platforms/linux64GccDPOpt/bin/scalarTransportDyMSolver
make: Target `application' not remade because of errors.

Last edited by wyldckat; October 11, 2014 at 12:06. Reason: Added [CODE][/CODE]
phsieh2005 is offline   Reply With Quote

Old   October 11, 2014, 12:10
Default
  #25
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Pei-Ying:
Quote:
Originally Posted by phsieh2005 View Post
2. Allwmake failed compilation. I received a couple of errors (will attach below).
Am I missing anything? I am using the latest OpenFOAM-2.3.x from git.
If you visit the page for the repository: https://bitbucket.org/sourceflux/primer-examples - or read the file "README.mdown", it states this:
Quote:
Originally Posted by https://bitbucket.org/sourceflux/primer-examples
The port to 2.3.x is currently underway - all libraries except primerDynamicFvMesh should run on both versions.
Which is pretty much refers to the error message you've gotten

Best regards,
Bruno
tomislav_maric likes this.
wyldckat is offline   Reply With Quote

Old   October 11, 2014, 13:00
Default
  #26
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Thanks Bruno!

I thought compilation will work, but, just cannot run the cases in 2.3.x. ok, i will try this in 2.2.x.

Pei-ying
phsieh2005 is offline   Reply With Quote

Old   October 11, 2014, 15:31
Default
  #27
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Quote:
Originally Posted by phsieh2005 View Post
Hi, Tomislav,

I am wondering if you can help me out with 2 things about the primer-examples.

1. On the installation page, it said using "./Allwcmake". I will assume that this is a type
Yes, it's a typo, I've fixed it, thanks for reporting it.

The second question was already answered by Bruno, thanks a lot Bruno!

Tomislav
wyldckat likes this.
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   October 13, 2014, 09:58
Default Reporting errors for the OpenFOAM Technology Primer book
  #28
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Hi everyone,

we have been asked multiple times about reporting errors found in the OpenFOAM Technology Primer book. There is a web page dedicated for that, you can follow this link to get there.

We will port the reports we got via emails to that page and of course to the book as well.

We are using print-on-demand, so by reporting errors that you find in the book, you are helping us a great deal make the book better and better with every print cycle. Of course, readers that report errors will be credited on the Errata page and in the book as well.

Thanks again to all readers that have reported the errors so far!

Best regards,

Tomislav & Jens & Kyle
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   October 21, 2014, 16:50
Default
  #29
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Tomislav,

Any estimate when the library will work on OpenFOAM-2.3.x completely? Just wondering.

Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   March 23, 2015, 06:05
Default
  #30
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Quote:
Originally Posted by phsieh2005 View Post
Hi, Tomislav,

Any estimate when the library will work on OpenFOAM-2.3.x completely? Just wondering.

Pei-Ying

Hey Pei-Ying,

We will start working on that in April, you can follow the repository on bitbucket and you'll get a notification when we start working on the port.

Best regards,
Tomislav
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   April 4, 2015, 00:18
Smile thanks
  #31
Member
 
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 59
Rep Power: 14
yhaomin2007 is on a distinguished road
Tomislav, Kyle, Jens,

I really want to express my appreciation for your hard work on this book. It is really nice to have somebody willing to do this.
jhoepken likes this.
yhaomin2007 is offline   Reply With Quote

Old   April 11, 2015, 13:48
Default Availability on Amazon
  #32
New Member
 
AI
Join Date: Jun 2014
Posts: 17
Rep Power: 12
sherif35 is on a distinguished road
Congratulation on the release of this book. it's about time we have a book specifically for OpenFOAM.

My question is, initial post indicated the book will be available for sale on Amazon at some point, any idea when?

Thank you.

Ahmed
sherif35 is offline   Reply With Quote

Old   April 11, 2015, 13:56
Default
  #33
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,
it is a self published book you can order the book via their web page not via amazon. Once they planned to sell in amazon but now they publish on their own
elvis is offline   Reply With Quote

Old   May 26, 2015, 17:04
Default
  #34
New Member
 
seyyed
Join Date: Jun 2014
Posts: 7
Rep Power: 12
S.M.H is on a distinguished road
hido your book (The OpenFOAM Technology Primer) have a second valume ?
because i saw diffrent design for first page of it
S.M.H is offline   Reply With Quote

Old   May 27, 2015, 03:53
Default
  #35
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
Hi,

I think they would announce that a 2nd Edition will be available
on one of the Social Media accounts https://www.facebook.com/pages/Sourc...49803251896541
https://twitter.com/sourceflux_de
https://plus.google.com/+SourcefluxD...cefluxDe/posts

The Cover of the Book I own looks like
https://www.facebook.com/24980325189...type=1&theater
S.M.H likes this.
elvis is offline   Reply With Quote

Old   December 4, 2015, 08:55
Default Great work!
  #36
Member
 
Akshay Kumar
Join Date: Aug 2010
Location: India
Posts: 84
Rep Power: 16
Akshay is on a distinguished road
Hey guys
Awesome work on the book! I've been contemplating to buy it for quite a while now. Is there another version/edition of the book coming out anytime soon?
Akshay is offline   Reply With Quote

Old   December 4, 2015, 10:50
Default
  #37
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Quote:
Originally Posted by Akshay View Post
Hey guys
Awesome work on the book! I've been contemplating to buy it for quite a while now. Is there another version/edition of the book coming out anytime soon?
The next edition of the book will definitely not appear before May 2016 - so you have at least 6 months time to read the current version. We are working on other things and having difficulties with finding the time for writing. Writing eats up a lot of time, as well as preparing the tutorials and the code examples...same goes for the blog posts..

If anyone has any ideas on the topics they would like to see in the next edition, let us know in this thread.

The more likes your proposal gets here, the more likely it is we will consider it for the next edition.
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   December 9, 2015, 08:37
Default
  #38
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
I purchased the first book. Enjoyed reading it.

For the next book, is it possible to consider gearing more toward industrial applications? That is, case studies, like centrifugal pump, interDyMFoam, DEM.

Thanks!

Pei-Ying
phsieh2005 is offline   Reply With Quote

Old   December 9, 2015, 12:07
Default
  #39
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
Quote:
Originally Posted by phsieh2005 View Post
I purchased the first book. Enjoyed reading it.

For the next book, is it possible to consider gearing more toward industrial applications? That is, case studies, like centrifugal pump, interDyMFoam, DEM.

Thanks!

Pei-Ying
The next edition will definitely be more oriented towards application. The first part of the book (the application part) represents only 1/3 of the book.

The question remains if we should use validation cases or show cases for the case studies. Show cases are easier to set up and describe, and for most platform elements they can be simplified severely.

This might be a nice approach for users that want to learn how a part of the platform works, without going through all the gory details of the validation process for a numerical method - another serious topic that I'm sure would not fit in a single book.

When you mention case studies, do you mean showcases that describe how to use for example the DEM, or are you referring to quantifiable comparisons to experiments - validation?
__________________
When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   December 9, 2015, 17:11
Default
  #40
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 334
Rep Power: 18
phsieh2005 is on a distinguished road
Hi, Tomislav,

>The next edition will definitely be more oriented towards application.

Cool!

>When you mention case studies, do you mean showcases that describe how to use for >example the DEM.

Yes, this is what I am thinking about. Maybe also include some discussion of why specific schemes/tolerances/turbulence model/BCs is applied.

It will be cool if there is some kind of repository for OpenFOAM cases. I have seen a lot of impressive OpenFOAM simulation on Youtube. But, they are simply animations. NO details of how they are setup. Virtually impossible to learn from them how to setup the same (or similar) simulation. It is too bad.

Pei-Ying
phsieh2005 is offline   Reply With Quote

Reply

Tags
book, documentation, primer

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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get data from OpenFoam to external solver using externalCoupled perry OpenFOAM Running, Solving & CFD 4 May 26, 2014 09:09
Best Book to Accompany OpenFOAM mgdenno OpenFOAM 5 May 25, 2012 22:35
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 15:43
OpenFOAM workshop in Milan errico OpenFOAM 9 August 17, 2008 12:37


All times are GMT -4. The time now is 09:54.