CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] Waves2Foam Related Topics

Register Blogs Community New Posts Updated Threads Search

Like Tree162Likes

Closed Thread
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 5, 2013, 08:45
Default
  #261
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi

It looks as if it cannot find the header files in waves2Foam/src/lnInclude. Maybe the relative path from the utilities should be defined differently in CAELinux? Even though it does not make sense, since waveFoam is compiled.

Well, nonetheless, I believe you should completely delete the version (or rename) you have on your computer and then do a completely fresh checkout as stated on the wiki (http://openfoamwiki.net/index.php/Contrib/waves2Foam)

Regards,

Niels
ngj is offline  

Old   January 5, 2013, 14:07
Default
  #262
Member
 
carlos
Join Date: Apr 2011
Posts: 37
Rep Power: 15
CFD-Palma is on a distinguished road
Hi,

I have compiled in a different instalation (OF 210) and managed to get waveFoam working, but faild on some pre and post processing due to missing files.
What I need is a clean and complete package for waves2Foam. Where can I download it?
I have tried sourceforge but can not find it.

Thanks once again!
Carlos.
CFD-Palma is offline  

Old   January 5, 2013, 14:24
Default
  #263
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Please read the "Download and Installation" section on the Wiki, which I linked above.

- Niels
ngj is offline  

Old   January 5, 2013, 14:42
Default
  #264
Member
 
carlos
Join Date: Apr 2011
Posts: 37
Rep Power: 15
CFD-Palma is on a distinguished road
Thanks Niels, I have found it, downloaded and it went like a charm.
Very sorry for taking your time due to my ignorance.
Best,
Carlos.
CFD-Palma is offline  

Old   January 5, 2013, 14:45
Default
  #265
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
You are welcome. I have to agree with you that it confuses the matter that a static (read: "old") and altered version of waves2Foam is floating around.

Well, now it has been documented and can be read by all other potential users.

Kind regards,

Niels
ngj is offline  

Old   January 6, 2013, 19:34
Default
  #266
New Member
 
Mohammad Ghandali
Join Date: Jan 2013
Posts: 8
Rep Power: 13
Mohamad(AUT) is on a distinguished road
Hi Dear Niels
first i appreciate of your works and your academic personality .
im very begginer in openfoam read the openfoam wiki instruction of waves2foam installation But when i run allwmake in terminal i found these in terminal is it normal?

'/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/lib/libwaves2Foam.so' is up to date.
./Allwmake: line 47: cd: applications/solvers/solvers201: No such file or directory
make[1]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc'
make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab'
make[3]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab/postprocessing'
make[3]: Nothing to be done for `application'.
make[3]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab/postprocessing'
make[3]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab/preprocessing'
make[3]: Nothing to be done for `application'.
make[3]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab/preprocessing'
make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc/matlab'
make[1]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/misc'
make[1]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/postProcessing'
make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/postProcessing/surfaceElevation'
make[2]: `/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/bin/surfaceElevation' is up to date.
make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/postProcessing/surfaceElevation'
make[1]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/postProcessing'
make[1]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing'
make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout'
make[2]: `/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/bin/relaxationZoneLayout' is up to date.
make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout'
make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/setWaveField'
make[2]: `/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/bin/setWaveField' is up to date.
make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/setWaveField'
make[2]: Entering directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/setWaveParameters'
make[2]: `/home/mohammad/OpenFOAM/mohammad-2.0.1/platforms/linux64GccDPOpt/bin/setWaveParameters' is up to date.
make[2]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing/setWaveParameters'
make[1]: Leaving directory `/home/mohammad/projects/waves2Foam/applications/utilities/preProcessing'

p.s: when i run wave flume tutorial i run blockmesh and it works when i run parafoam i suddenly get out and disapeared..

beforehand thank you for your helping
Mohammad
Mohamad(AUT) is offline  

Old   January 7, 2013, 05:54
Default
  #267
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Mohammed,

Yes, it looks correct - congrats with the painless compilation

With respect to the crashing of paraFoam, it sounds like a problem, which I have heard about before, however, I have no means of helping with that. I advise you to search the Forum (using Google )

Kind regards,

Niels
Mohamad(AUT) likes this.
ngj is offline  

Old   January 7, 2013, 09:30
Default
  #268
New Member
 
Mohammad Ghandali
Join Date: Jan 2013
Posts: 8
Rep Power: 13
Mohamad(AUT) is on a distinguished road
Hi again Dear niels
thanks for your quick answer..and time you spent on my post
i run wave flume tutorials and i run blockMesh and then run setWaveField in terminal and i get this error and i dont know how to debug it..


mohammad@mohammad-desktop:~$ cd /home/mohammad/Desktop/waveFlume
mohammad@mohammad-desktop:~/Desktop/waveFlume$ blockMesh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.1-51f1de99a4bc
Exec : blockMesh
Date : Jan 07 2013
Time : 04:01:15
Host : mohammad-desktop
PID : 10052
Case : /home/mohammad/Desktop/waveFlume
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
"/home/mohammad/Desktop/waveFlume/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty

Check topology

Basic statistics
Number of internal faces : 0
Number of boundary faces : 6
Number of defined boundary faces : 6
Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list .

Creating polyMesh from blockMesh
Creating patches
Creating cells
Creating points with scale 1

Writing polyMesh
----------------
Mesh Information
----------------
boundingBox: (0 -0.4 0) (18 0.2 0.1)
nPoints: 43676
nCells: 21420
nFaces: 86097
nInternalFaces: 42423
----------------
Patches
----------------
patch 0 (start: 42423 size: 60) name: inlet
patch 1 (start: 42483 size: 357) name: bottom
patch 2 (start: 42840 size: 60) name: outlet
patch 3 (start: 42900 size: 357) name: atmosphere
patch 4 (start: 43257 size: 42840) name: frontBack

End

mohammad@mohammad-desktop:~/Desktop/waveFlume$ setWaveField
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.1-51f1de99a4bc
Exec : setWaveField
Date : Jan 07 2013
Time : 04:02:14
Host : mohammad-desktop
PID : 10060
Case : /home/mohammad/Desktop/waveFlume
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0



--> FOAM FATAL IO ERROR:
cannot open file

file: /home/mohammad/Desktop/waveFlume/system/fvSchemes at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 87.

FOAM exiting

PLease Help me
Best Regards Mohammed
Mohamad(AUT) is offline  

Old   January 7, 2013, 16:55
Default
  #269
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Dear Mohammed,

Please execute the "Allrun" script as
Code:
./Allrun
This script does (as the name suggests ) all what is needed to run the tutorial. It is a simple text file, so you can see, what happens ``inside''.

Kind regards,

Niels
Mohamad(AUT) likes this.
ngj is offline  

Old   January 11, 2013, 05:25
Default
  #270
New Member
 
Harrif
Join Date: Feb 2011
Location: National University of Singapore
Posts: 2
Rep Power: 0
harrif is on a distinguished road
Dear Foamers,

I am curious whether any of you guys have successfully implemented turbulence models with density for waves2foam?

I am simulating regular waves (without current yet) for laminar and eventually turbulent flows in waves2foam. I tried to include density in the standard k - epsilon (in OF 1.7.1), in the form of rho_ and rhoPhi in each term of k and epsilon transport equations, but the resultant wave height gets even more dampen (much quicker) than the normal density-normalised k - epsilon model. This is because of excessive production of k, epsilon and eventually nut which grow over the time. See the attached surface elevation profile for laminar, density-normalised turbulence and turbulence with density models. Perhaps you guys can shed some light about the proper implementation procedure? Thanks!

Niels, I got a question about the new k - omega model in your paper, equation (6) and (7). I realised there is missing rho in beta term, sigma_d term of the omega equation and betaStar term of the k equation. Is this typo or there is no rho for some reason? Thanks!

Cheers,
Harrif
Attached Images
File Type: jpg 21m Laminar vs Turbulent Updated.jpg (93.3 KB, 114 views)
harrif is offline  

Old   January 11, 2013, 06:27
Default
  #271
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Dear Harrif,

Thanks for pointing out the missing rho's (there are actually more of them in eq. (6) and (7), and I am really embarrassed with that!).

With respect to the turbulence modelling, I found that it is very important to treat the production term correctly. The problem with production terms based on the strain tensor is that production will be non-zero in a potential flow field, which by definition is irrotational! Therefore Mayer and Madsen (2000) suggested to use the curl of the velocity field instead. I have also had successes with this type of formulation in k-omega models.

Kind regards

Niels

Mayer S, Madsen PA. Simulation of breaking waves in the surf zone using a Navier–Stokes solver. Proceeding to Coastal Engineering Conference 2000; I:928–941.
ngj is offline  

Old   January 14, 2013, 08:25
Default dynamic mesh
  #272
Member
 
Ed Ransley
Join Date: Jul 2012
Posts: 30
Rep Power: 14
Ed R is on a distinguished road
Dear waves2Foamers,

I'm struggling to get the waveDyMFoam solver to work. I have followed the instructions on the wiki to couple interDymFoam with waves2Foam but when the solver tries to refine the mesh is crashes. Has anyone got the dynamic mesh to work? Any help would be much appreciated.

The terminal gives the following:

/opt/openfoam211/bin/tools/RunFunctions: line 37: 3280 Segmentation fault (core dumped) $APP_RUN $* > log.$APP_NAME 2>&1

The log file give this (after the usual preliminaries)

Starting time loop

Interface Courant Number mean: 6.86629e-05 max: 0.0102554
Courant Number mean: 0.00296173 max: 0.010832
deltaT = 0.00116279
Time = 0.00116279

Selected 3740 cells for refinement out of 75000.
Refined from 75000 to 101180 cells.
#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Uninterpreted:
#3 Foam::dynamicRefineFvMesh::refine(Foam::List<int> const&) in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libdynamicFvMesh.so"
#4 Foam::dynamicRefineFvMesh::update() in "/opt/openfoam211/platforms/linuxGccDPOpt/lib/libdynamicFvMesh.so"
#5
in "/home/eransley/OpenFOAM/eransley-2.1.1/platforms/linuxGccDPOpt/bin/waveDyMFoam"
#6 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#7
in "/home/eransley/OpenFOAM/eransley-2.1.1/platforms/linuxGccDPOpt/bin/waveDyMFoam"

I'm no expert but I think it must be something to do with the refinement as if the initial number of cells are purposely over the max cell number it runs fine.

Thanks a lot, Ed.
Ed R is offline  

Old   January 14, 2013, 12:05
Default
  #273
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Ed,

Have you tried running the case with interDymFoam, i.e. without the coupling to waves2Foam?

This would be a nice way to verify whether it is an error exclusively related to the mesh refinement or whether waves2Foam also cause problems.

Kind regards,

Niels
ngj is offline  

Old   January 14, 2013, 13:15
Default
  #274
Member
 
Ed Ransley
Join Date: Jul 2012
Posts: 30
Rep Power: 14
Ed R is on a distinguished road
Hi Niels,

I have set up the case by changing the boundary types in 0/alpha.org and 0/U.org from waveAlpha and waveVelocity to fixedValues and used a setFieldsDict to set the fields without using setWaveFields. Then using interDymFoam it crashes at the same point (when trying to make the first refinement) so It must be something to do with my case. I have run the damBreakWithObstacle tutorial and it runs fine and the refinement works. Any hints on setting up a Dynamic mesh case that I may have over looked?
Ed R is offline  

Old   January 14, 2013, 17:09
Default
  #275
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Ed,

No, I have never used the dynamic refinement. But some else might?

Kind regards,

Niels
ngj is offline  

Old   January 15, 2013, 13:04
Default
  #276
Member
 
Ed Ransley
Join Date: Jul 2012
Posts: 30
Rep Power: 14
Ed R is on a distinguished road
Niels,

I've now managed to solve the dynamic mesh issues I was having it was a combination of empty boundary types don't work and a slight alteration to the fvSolution file. The details can be found in these two posts (below). I'd like to thank Adriaan Steenkamp for the help.

http://www.cfd-online.com/Forums/ope...tml#post401945

http://www.cfd-online.com/Forums/ope...erdymfoam.html

I'm now having another issue:

I'm trying to install waves2Foam on a cluster and when performing the SVN to sourceforge from the wiki site I get an error saying that it cannot find the code. Is the wiki up to date, has anyone got any tips to get waves2Foam on a cluster. I'm really out of my depth with HPC stuff, any help would be great.

Thanks,

Ed
Ed R is offline  

Old   January 15, 2013, 18:25
Default
  #277
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Ed,

Congrats on the successful refinement

The SVN is currently down (see: http://openfoamwiki.net/index.php/Main_Page), so I suggest that you merely copy the files you have on your own computer to the cluster.

Kind regards,

Niels
ngj is offline  

Old   January 16, 2013, 11:24
Default
  #278
Member
 
Ed Ransley
Join Date: Jul 2012
Posts: 30
Rep Power: 14
Ed R is on a distinguished road
Hi Niels,

Thanks for the info. I've done as you said and copied my waves2Foam folder from my desktop to the cluster but I'm having some problems making it on the cluster. Is there a specific place the folder needs to be to run the Allwmake command? I tried having waves2Foam in opt/OpenFoam/ as I want the libraries to be available to multiple users but I get lots of 'no rule to make target issues? Any tips on how to resolve this?

Thanks a lot

Ed

The terminal read out I got is below:

[root@fotcluster1 waves2Foam]# ./Allwmake > w2f.txt
make[1]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/misc'
make[2]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/misc/matlab'
make[3]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/misc/matlab/postprocessing'
make[3]: Nothing to be done for `application'.
make[3]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/misc/matlab/postprocessing'
make[3]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/misc/matlab/preprocessing'
make[3]: Nothing to be done for `application'.
make[3]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/misc/matlab/preprocessing'
make[2]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/misc/matlab'
make[1]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/misc'
make[1]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/postProcessing'
make[2]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/postProcessing/surfaceElevation'
make[2]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/postProcessing/surfaceElevation'
make[1]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/postProcessing'
make[1]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/preProcessing'
make[2]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout'
make[2]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/preProcessing/relaxationZoneLayout'
make[2]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/preProcessing/setWaveField'
make[2]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/preProcessing/setWaveField'
make[2]: Entering directory `/opt/OpenFOAM/waves2Foam/applications/utilities/preProcessing/setWaveParameters'
make[2]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/preProcessing/setWaveParameters'
make[1]: Leaving directory `/opt/OpenFOAM/waves2Foam/applications/utilities/preProcessing'

make: *** No rule to make target `lnInclude/sampledSurfaceElevation.H', needed by `sampling/sampledSurfaceElevationFunctionObject/sampledSurfac$
./Allwmake: line 47: cd: applications/solvers/solvers200: No such file or directory
make[2]: *** No rule to make target `../../../../src/lnInclude/IOsampledSurfaceElevation.H', needed by `surfaceElevation.dep'.
make[2]: *** No rule to make target `../../../../src/lnInclude/sampledSurfaceElevation.H', needed by `surfaceElevation.dep'.
make[2]: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude/sigWriteNow.H', needed by `surfaceElevation.de$
make[2]: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude/sigStopAtWriteNow.H', needed by `surfaceElevat$
make[2]: *** No rule to make target `../../../../src/lnInclude/sampledSurfaceElevationTemplates.C', needed by `surfaceElevation.dep'.
make[2]: *** No rule to make target `../../../../src/lnInclude/readWaveProperties.H', needed by `surfaceElevation.dep'.
make[2]: Failed to remake makefile `surfaceElevation.dep'.
make[2]: Target `/root/OpenFOAM/root-2.0.x/platforms/linux64Gcc45DPOpt/bin/surfaceElevation' not remade because of errors.
make[1]: *** [surfaceElevation] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [postProcessing] Error 2
make[2]: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude/sigWriteNow.H', needed by `relaxationZoneLayou$
make[2]: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude/sigStopAtWriteNow.H', needed by `relaxationZon$
make[2]: *** No rule to make target `../../../../src/lnInclude/relaxationShape.H', needed by `relaxationZoneLayout.dep'.
make[2]: *** No rule to make target `../../../../src/lnInclude/relaxationWeight.H', needed by `relaxationZoneLayout.dep'.
make[2]: *** No rule to make target `../../../../src/lnInclude/relaxationWeightCourantCorrection.H', needed by `relaxationZoneLayout.dep'.
make[2]: *** No rule to make target `../../../../src/lnInclude/readWaveProperties.H', needed by `relaxationZoneLayout.dep'.
make[2]: Failed to remake makefile `relaxationZoneLayout.dep'.
make[2]: Target `/root/OpenFOAM/root-2.0.x/platforms/linux64Gcc45DPOpt/bin/relaxationZoneLayout' not remade because of errors.
make[1]: *** [relaxationZoneLayout] Error 2
make[2]: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude/sigWriteNow.H', needed by `setWaveField.dep'.
make[2]: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude/sigStopAtWriteNow.H', needed by `setWaveField.$
make[2]: *** No rule to make target `../../../../src/lnInclude/setWaveField.H', needed by `setWaveField.dep'.
make[2]: *** No rule to make target `../../../../src/lnInclude/convexPolyhedral.H', needed by `setWaveField.dep'.
make[2]: *** No rule to make target `../../../../src/lnInclude/localFace.H', needed by `setWaveField.dep'.
make[2]: *** No rule to make target `../../../../src/lnInclude/localCell.H', needed by `setWaveField.dep'.
make[2]: *** No rule to make target `../../../../src/lnInclude/localCellNeg.H', needed by `setWaveField.dep'.
make[2]: Failed to remake makefile `setWaveField.dep'.
make[2]: Target `/root/OpenFOAM/root-2.0.x/platforms/linux64Gcc45DPOpt/bin/setWaveField' not remade because of errors.
make[1]: *** [setWaveField] Error 2
make[2]: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude/sigWriteNow.H', needed by `setWaveParameters.d$
make[2]: *** No rule to make target `/opt/OpenFOAM/OpenFOAM-2.0.x/src/OSspecific/POSIX/lnInclude/sigStopAtWriteNow.H', needed by `setWaveParame$
make[2]: *** No rule to make target `../../../../src/lnInclude/setWaveProperties.H', needed by `setWaveParameters.dep'.
make[2]: Failed to remake makefile `setWaveParameters.dep'.
make[2]: Target `/root/OpenFOAM/root-2.0.x/platforms/linux64Gcc45DPOpt/bin/setWaveParameters' not remade because of errors.
make[1]: *** [setWaveParameters] Error 2
make[1]: Target `application' not remade because of errors.
make: *** [preProcessing] Error 2
make: Target `application' not remade because of errors.
Ed R is offline  

Old   January 16, 2013, 12:05
Default
  #279
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Ed,

Did you make a

Code:
wclean all
in the waves2Foam directory before compiling? If not it could have carried some settings from your private computer, and it typically confuses the compilation process.

Kind regards,

Niels
ngj is offline  

Old   January 19, 2013, 06:59
Default
  #280
New Member
 
Mohammad Ghandali
Join Date: Jan 2013
Posts: 8
Rep Power: 13
Mohamad(AUT) is on a distinguished road
Quote:
Originally Posted by ngj View Post
Dear Mohammed,

Please execute the "Allrun" script as
Code:
./Allrun
This script does (as the name suggests ) all what is needed to run the tutorial. It is a simple text file, so you can see, what happens ``inside''.

Kind regards,

Niels
Hi again dear Niels

i try to run waveflume tutorials and i execute ./Allrun script and then i run blockMesh and its ok and then run setWaveField and it runs ok when i run the solver waveFoam in terminal it says command not found
and also i try with interFoam in terminal then i get this error
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.1-51f1de99a4bc
Exec : interFoam
Date : Jan 20 2013
Time : 14:36:42
Host : mohammad-desktop
PID : 3570
Case : /home/mohammad/Desktop/waveFlume
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

// using new solver syntax:
pcorr
{
solver GAMG;
tolerance 1e-07;
relTol 0;
smoother DIC;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}

// using new solver syntax:
p_rgh
{
solver GAMG;
tolerance 1e-07;
relTol 0;
smoother DIC;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}

// using new solver syntax:
p_rghFinal
{
solver GAMG;
tolerance 1e-08;
relTol 0;
smoother DIC;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
}

// using new solver syntax:
U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-09;
relTol 0;
}

// using new solver syntax:
UFinal
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-09;
relTol 0;
}

// using new solver syntax:
gamma
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-07;
relTol 0;
}


PIMPLE: Operating solver in PISO mode

Reading field p_rgh

Reading field alpha1



--> FOAM FATAL IO ERROR:
Unknown patchField type waveAlpha for patch type patch

Valid patchField types are :

69
(
advective
alphaFixedPressure
atmBoundaryLayerInletEpsilon
buoyantPressure
calculated
codedFixedValue
constantAlphaContactAngle
cyclic
cyclicSlip
directMapped
directMappedField
directMappedFixedInternalValue
directMappedFixedPushedInternalValue
directionMixed
dynamicAlphaContactAngle
empty
epsilonWallFunction
fan
fanPressure
fixedFluxPressure
fixedGradient
fixedInternalValue
fixedPressureCompressibleDensity
fixedValue
freestream
freestreamPressure
inletOutlet
inletOutletTotalTemperature
kappatJayatillekeWallFunction
kqRWallFunction
mixed
nonuniformTransformCyclic
nuSgsUSpaldingWallFunction
nutLowReWallFunction
nutTabulatedWallFunction
nutURoughWallFunction
nutUSpaldingWallFunction
nutUWallFunction
nutkRoughWallFunction
nutkWallFunction
omegaWallFunction
oscillatingFixedValue
outletInlet
outletMappedUniformInlet
partialSlip
processor
processorCyclic
rotatingTotalPressure
selfContainedDirectMapped
sliced
slip
symmetryPlane
syringePressure
timeVaryingAlphaContactAngle
timeVaryingMappedFixedValue
timeVaryingTotalPressure
timeVaryingUniformFixedValue
totalPressure
totalTemperature
turbulentHeatFluxTemperature
turbulentInlet
turbulentIntensityKineticEnergyInlet
turbulentMixingLengthDissipationRateInlet
turbulentMixingLengthFrequencyInlet
uniformDensityHydrostaticPressure
uniformFixedValue
waveTransmissive
wedge
zeroGradient
)


file: /home/mohammad/Desktop/waveFlume/0/alpha1::boundaryField::inlet from line 21450 to line 21518.

From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.0.1/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 135.

FOAM exiting

please help me
like always i thank you for your best helping
king regards
Mohamad(AUT) is offline  

Closed Thread


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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 06:29
Re-Project topics protocol STAR-CCM+ 0 March 22, 2016 06:25
Waves2Foam Related Topics seoseonguk OpenFOAM Running, Solving & CFD 0 March 1, 2016 23:18
Waves2Foam Related Topics seoseonguk OpenFOAM Running, Solving & CFD 0 March 1, 2016 23:14
Error: "Cannot find file points" related to changing parallelized code to serial? Suyf OpenFOAM Running, Solving & CFD 0 February 12, 2015 05:31


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