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

[swak4Foam] pulseitzDaily - problem

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2014, 10:15
Default pulseitzDaily - problem
  #1
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
Hello!

swak4Foam just installed on my computer. Use the openfoam 2.2.2.

When I type blockMesh, the mesh is generated normally, but when I type "oodles", which is described in "application oodles" in ControlDict, "command not found" appears .. where am I missing guys? Thank you for your attention!
vitorspadeto is offline   Reply With Quote

Old   June 12, 2014, 11:02
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by vitorspadeto View Post
Hello!

swak4Foam just installed on my computer. Use the openfoam 2.2.2.

When I type blockMesh, the mesh is generated normally, but when I type "oodles", which is described in "application oodles" in ControlDict, "command not found" appears .. where am I missing guys? Thank you for your attention!
That is not a swak-problem. oodles used to be the LES-incompressible solver. That functionality is now part of pisoFoam. The README says to use this solver. Since the death of FoamX I don't see sense in the application-entry anymore
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   June 12, 2014, 11:14
Default
  #3
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
Code:
Code:
sp@sp-945GCM-S2C:~/PGSPAD/SIMULATIONS/pulsedPitzDaily$ pisoFoam
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.2                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.2-9240f8b967db
Exec   : pisoFoam
Date   : Jun 12 2014
Time   : 11:04:08
Host   : "sp-945GCM-S2C"
PID    : 3795
Case   : /home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily
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

--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libswakPythonIntegration.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libswakPythonIntegration.so"
Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type LESModel
Selecting LES turbulence model oneEqEddy
Selecting LES delta type cubeRootVol
--> FOAM Warning : 
    From function cubeRootVolDelta::calcDelta()
    in file cubeRootVolDelta/cubeRootVolDelta.C at line 52
    Case is 2D, LES is not strictly applicable

bounding k, min: 0 max: 2e-05 average: 2e-05
oneEqEddyCoeffs
{
    ck              0.07;
    ce              1.05;
}


Starting time loop

--> FOAM Warning : 
    From function solvePDECommon::read(const dictionary& dict)
    in file solvePDECommon.C at line 125
    If in case of relaxation you want to relax the last iteration as well set 'relaxLastIteration true;' in "/home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/system/controlDict.functions.distance"
DICPCG:  Solving for distance, Initial residual = 1, Final residual = 8.04308e-07, No Iterations 228
DICPCG:  Solving for distance, Initial residual = 4.2461e-09, Final residual = 4.2461e-09, No Iterations 0
DICPCG:  Solving for distance, Initial residual = 4.2461e-09, Final residual = 4.2461e-09, No Iterations 0
--> FOAM Warning : 
    From function solvePDECommon::read(const dictionary& dict)
    in file solvePDECommon.C at line 114
    If you want the unsteady run to use relaxation set 'relaxUnsteady true;' in "/home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/system/controlDict.functions.heat"
--> FOAM Warning : 
    From function solvePDECommon::read(const dictionary& dict)
    in file solvePDECommon.C at line 125
    If in case of relaxation you want to relax the last iteration as well set 'relaxLastIteration true;' in "/home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/system/controlDict.functions.residualTime"
--> FOAM Warning : 
    From function Foam::solveTransportPDE::read(const dictionary& dict)
    in file solveTransportPDE.C at line 105
    Source expression "1" set. Consider factoring out parts to 'sourceImplicit'

--> FOAM Warning : 
    From function solvePDECommon::read(const dictionary& dict)
    in file solvePDECommon.C at line 125
    If in case of relaxation you want to relax the last iteration as well set 'relaxLastIteration true;' in "/home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/system/controlDict.functions.residualTimeRelax"
--> FOAM Warning : 
    From function Foam::solveTransportPDE::read(const dictionary& dict)
    in file solveTransportPDE.C at line 105
    Source expression "1" set. Consider factoring out parts to 'sourceImplicit'



--> FOAM FATAL IO ERROR: 
cannot find file

file: /home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/0/residualTimeRelaxFinal at line 0.

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

FOAM exiting
Sorry, I'm a beginner. I dont know what I made wrong
vitorspadeto is offline   Reply With Quote

Old   June 12, 2014, 11:20
Default
  #4
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
I replaced 'oodless' by 'pisoFoam' in application (application pisoFoam) within ControlDict ..

when I typed "pisoFoam" in the terminal, these errors above occurred
vitorspadeto is offline   Reply With Quote

Old   June 12, 2014, 12:02
Default
  #5
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
Anyone know how should I do to run this example? thanks!
vitorspadeto is offline   Reply With Quote

Old   June 12, 2014, 13:20
Default
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by vitorspadeto View Post
Code:
Code:
sp@sp-945GCM-S2C:~/PGSPAD/SIMULATIONS/pulsedPitzDaily$ pisoFoam
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.2                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.2-9240f8b967db
Exec   : pisoFoam
Date   : Jun 12 2014
Time   : 11:04:08
Host   : "sp-945GCM-S2C"
PID    : 3795
Case   : /home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily
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

--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libswakPythonIntegration.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libswakPythonIntegration.so"
Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type LESModel
Selecting LES turbulence model oneEqEddy
Selecting LES delta type cubeRootVol
--> FOAM Warning : 
    From function cubeRootVolDelta::calcDelta()
    in file cubeRootVolDelta/cubeRootVolDelta.C at line 52
    Case is 2D, LES is not strictly applicable

bounding k, min: 0 max: 2e-05 average: 2e-05
oneEqEddyCoeffs
{
    ck              0.07;
    ce              1.05;
}


Starting time loop

--> FOAM Warning : 
    From function solvePDECommon::read(const dictionary& dict)
    in file solvePDECommon.C at line 125
    If in case of relaxation you want to relax the last iteration as well set 'relaxLastIteration true;' in "/home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/system/controlDict.functions.distance"
DICPCG:  Solving for distance, Initial residual = 1, Final residual = 8.04308e-07, No Iterations 228
DICPCG:  Solving for distance, Initial residual = 4.2461e-09, Final residual = 4.2461e-09, No Iterations 0
DICPCG:  Solving for distance, Initial residual = 4.2461e-09, Final residual = 4.2461e-09, No Iterations 0
--> FOAM Warning : 
    From function solvePDECommon::read(const dictionary& dict)
    in file solvePDECommon.C at line 114
    If you want the unsteady run to use relaxation set 'relaxUnsteady true;' in "/home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/system/controlDict.functions.heat"
--> FOAM Warning : 
    From function solvePDECommon::read(const dictionary& dict)
    in file solvePDECommon.C at line 125
    If in case of relaxation you want to relax the last iteration as well set 'relaxLastIteration true;' in "/home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/system/controlDict.functions.residualTime"
--> FOAM Warning : 
    From function Foam::solveTransportPDE::read(const dictionary& dict)
    in file solveTransportPDE.C at line 105
    Source expression "1" set. Consider factoring out parts to 'sourceImplicit'

--> FOAM Warning : 
    From function solvePDECommon::read(const dictionary& dict)
    in file solvePDECommon.C at line 125
    If in case of relaxation you want to relax the last iteration as well set 'relaxLastIteration true;' in "/home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/system/controlDict.functions.residualTimeRelax"
--> FOAM Warning : 
    From function Foam::solveTransportPDE::read(const dictionary& dict)
    in file solveTransportPDE.C at line 105
    Source expression "1" set. Consider factoring out parts to 'sourceImplicit'



--> FOAM FATAL IO ERROR: 
cannot find file

file: /home/sp/PGSPAD/exemplos_para_o_PG/SIMULATIONS/pulsedPitzDaily/0/residualTimeRelaxFinal at line 0.

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

FOAM exiting
Sorry, I'm a beginner. I dont know what I made wrong
residualTimeRelaxFinal is a symbolic link to residualTime in directory 0. Is in the repository. I checked. Probably got lost either during your copying of he case. Check in the sources you have whether it is there
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   June 12, 2014, 13:42
Default
  #7
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
Strange that. I tried to simulate using the proper files I downloaded from swak4Foam. I'll try to install an older version of OpenFOAM version v2.1 ... and try to reinstall swak4Foam
vitorspadeto is offline   Reply With Quote

Old   June 12, 2014, 16:10
Default
  #8
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by vitorspadeto View Post
Strange that. I tried to simulate using the proper files I downloaded from swak4Foam. I'll try to install an older version of OpenFOAM version v2.1 ... and try to reinstall swak4Foam
How did you download it? hg, svn or the tarball?
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   June 12, 2014, 16:23
Default
  #9
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
svn...from this link:
http://openfoamwiki.net/index.php/In...am/Downloading

and type this code within the terminal:
Code:
svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam



I followed the steps according to this link (to install swak4Foam):

http://openfoamwiki.net/index.php/In...10.04_to_14.04






I then replaced 'oodles' for 'pisoFoam' in "ControlDict" for this case, on the original folder (directory: home/swak4Foam/swak4Foam_2.x/Examples/groovyBC/pulsedPitzDaily)
.. and when executing the terminal (after using blockmesh and checkMesh) for pulsedpitzDaily case, I typed 'pisoFoam' on the terminal and still remain showing this error.

my ubuntu is quantal 12.10 and I have openfoam 2.2.0 on one computer and openfoam 2.2.2 on another computer

detail: I created a folder in "home" (in ubuntu) with the name "swak4Foam" and typed the line to download (svn) in this directory. not copied anything to the folders openfoam.
vitorspadeto is offline   Reply With Quote

Old   June 12, 2014, 16:40
Default
  #10
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
after installed I typed in the terminal 'funkySetFields' (to verify that the installation was done successfully) and this appeared:

Code:
sp@sp-945GCM-S2C:~$ funkySetFields
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.0-5be49240882f
Exec   : funkySetFields
Date   : Jun 12 2014
Time   : 16:35:06
Host   : "sp-945GCM-S2C"
PID    : 16773
Case   : /home/sp
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
swakVersion: 0.3.0 (Release date: 2014-01-24)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


--> FOAM FATAL ERROR: 
funkySetFields: time/latestTime option is required


    From function main()
    in file funkySetFields.C at line 643.

FOAM exiting

sp@sp-945GCM-S2C:~$
vitorspadeto is offline   Reply With Quote

Old   June 12, 2014, 17:29
Default
  #11
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by vitorspadeto View Post
after installed I typed in the terminal 'funkySetFields' (to verify that the installation was done successfully) and this appeared:

Code:
sp@sp-945GCM-S2C:~$ funkySetFields
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.2.0                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.2.0-5be49240882f
Exec   : funkySetFields
Date   : Jun 12 2014
Time   : 16:35:06
Host   : "sp-945GCM-S2C"
PID    : 16773
Case   : /home/sp
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
swakVersion: 0.3.0 (Release date: 2014-01-24)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


--> FOAM FATAL ERROR: 
funkySetFields: time/latestTime option is required


    From function main()
    in file funkySetFields.C at line 643.

FOAM exiting

sp@sp-945GCM-S2C:~$
That looks OK.

I tried the svn. Seems like the symbolic link was not pulled. Maybe it is not in the repository. Just create a link to the original residualTime-file and it should work OK
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   June 12, 2014, 18:00
Default
  #12
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
thanks bro!

Last edited by vitorspadeto; June 12, 2014 at 21:31.
vitorspadeto is offline   Reply With Quote

Old   June 17, 2014, 17:18
Default
  #13
Member
 
Pratik Nanavati
Join Date: May 2014
Location: Munich, Germany
Posts: 40
Rep Power: 12
nanavati is on a distinguished road
Quote:
Originally Posted by gschaider View Post
That looks OK.

I tried the svn. Seems like the symbolic link was not pulled. Maybe it is not in the repository. Just create a link to the original residualTime-file and it should work OK
hello, I am also getting same error message.


root@ubuntu:/opt/openfoam220/swak4Foam_2.x_release_0.2.1# funkySetFields
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-5be49240882f
Exec : funkySetFields
Date : Jun 17 2014
Time : 22:02:59
Host : "ubuntu"
PID : 3599
Case : /opt/openfoam220/swak4Foam_2.x_release_0.2.1
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
swakVersion: 0.3.0 (Release date: 2014-01-24)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


--> FOAM FATAL ERROR:
funkySetFields: time/latestTime option is required


From function main()
in file funkySetFields.C at line 643.

FOAM exiting

You have explained, 'Seems like the symbolic link was not pulled. Maybe it is not in the repository. Just create a link to the original residualTime-file and it should work'.

But I am not able to interpret what you are trying to say, as i am a beginner.
Can you please suggest some solution for my error ? Thanks.
nanavati is offline   Reply With Quote

Old   June 17, 2014, 17:53
Default
  #14
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by nanavati View Post
hello, I am also getting same error message.


root@ubuntu:/opt/openfoam220/swak4Foam_2.x_release_0.2.1# funkySetFields
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.2.0-5be49240882f
Exec : funkySetFields
Date : Jun 17 2014
Time : 22:02:59
Host : "ubuntu"
PID : 3599
Case : /opt/openfoam220/swak4Foam_2.x_release_0.2.1
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
swakVersion: 0.3.0 (Release date: 2014-01-24)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //


--> FOAM FATAL ERROR:
funkySetFields: time/latestTime option is required


From function main()
in file funkySetFields.C at line 643.

FOAM exiting

You have explained, 'Seems like the symbolic link was not pulled. Maybe it is not in the repository. Just create a link to the original residualTime-file and it should work'.

But I am not able to interpret what you are trying to say, as i am a beginner.
Can you please suggest some solution for my error ? Thanks.
That is not the same error. Key is "time/latestTime option is required". I think it is explained at the page on funkySetFields: you need to specify the time that it should operate on
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   June 17, 2014, 18:52
Default
  #15
Member
 
Pratik Nanavati
Join Date: May 2014
Location: Munich, Germany
Posts: 40
Rep Power: 12
nanavati is on a distinguished road
Quote:
Originally Posted by gschaider View Post
That is not the same error. Key is "time/latestTime option is required". I think it is explained at the page on funkySetFields: you need to specify the time that it should operate on

Hello, Thanks for the reply. I have gone through the post which mentioned.

However I have few very basic Questions about the system of swak4foam. I tried to search it back and forth on every forum but couldn't find the answers.

Please Just let me know Correct or Not Correct.

1. I have Installed OF 220 as a normal user.
2. swak4foam installed as ROOT. is it okey ?
3. swak4foam folder is placed in /opt/openfoam220/swak4foam. is it the right folder ? or it should be in home/openfoam ?
4. Can you post a link of Complete Example in which swak4foam is being used. (What I wanted to know here is, which kind of symptoms the results have for the swak4foam?)

Thanks.
nanavati is offline   Reply With Quote

Old   June 18, 2014, 10:07
Default
  #16
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by nanavati View Post
Hello, Thanks for the reply. I have gone through the post which mentioned.

However I have few very basic Questions about the system of swak4foam. I tried to search it back and forth on every forum but couldn't find the answers.

Please Just let me know Correct or Not Correct.

1. I have Installed OF 220 as a normal user.
2. swak4foam installed as ROOT. is it okey ?
3. swak4foam folder is placed in /opt/openfoam220/swak4foam. is it the right folder ? or it should be in home/openfoam ?
4. Can you post a link of Complete Example in which swak4foam is being used. (What I wanted to know here is, which kind of symptoms the results have for the swak4foam?)

Thanks.
swak4Foam by default installs into FOAM_USER_LIBBIN so only the users that compiles it will be able to use it (this is on purpose). So compile it as yourself if you want to use it. Or are you using a binary?

swak4Foam-folder can be anywhere

Example: there are enough presentations on the swak-page on the Wiki that do exactly that (the PennState or the Jeju-presentations are good starting points). I am already repeating myself there. So I won't do that here
nanavati likes this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   January 27, 2015, 05:16
Default
  #17
Member
 
Pratik Nanavati
Join Date: May 2014
Location: Munich, Germany
Posts: 40
Rep Power: 12
nanavati is on a distinguished road
Quote:
Originally Posted by vitorspadeto View Post
thanks bro!
Hello,

I am trying the same stuff and having the same error with oodles to pisoFoam.

I want to know how u created a link to residualTime-file ?

It would be great if you can share it.
nanavati is offline   Reply With Quote

Old   July 14, 2015, 11:14
Default
  #18
Senior Member
 
Ehsan Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18
syavash is on a distinguished road
Quote:
Originally Posted by gschaider View Post
swak4Foam by default installs into FOAM_USER_LIBBIN so only the users that compiles it will be able to use it (this is on purpose). So compile it as yourself if you want to use it. Or are you using a binary?

swak4Foam-folder can be anywhere

Example: there are enough presentations on the swak-page on the Wiki that do exactly that (the PennState or the Jeju-presentations are good starting points). I am already repeating myself there. So I won't do that here

Dear Bernhard,

When I try to run the pulsedPitzDaily example, I get the following error. Please help me to resolve this problem.

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.3.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.3.1-262087cdf8db
Exec   : pisoFoam
Date   : Jul 14 2015
Time   : 18:37:39
Host   : "syavash-VPCF11DGX"
PID    : 32738
Case   : /home/syavash/OpenFOAM/swak4Foam_2.x/Examples/groovyBC/pulsedPitzDaily
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type LESModel
Selecting LES turbulence model oneEqEddy
Selecting LES delta type cubeRootVol
--> FOAM Warning : 
    From function cubeRootVolDelta::calcDelta()
    in file cubeRootVolDelta/cubeRootVolDelta.C at line 52
    Case is 2D, LES is not strictly applicable

bounding k, min: 0 max: 2e-05 average: 2e-05
oneEqEddyCoeffs
{
    ck              0.07;
    ce              1.05;
}


Starting time loop

--> FOAM Warning : 
    From function solvePDECommon::read(const dictionary& dict)
    in file solvePDECommon.C at line 169
    If in case of relaxation you want to relax the last iteration as well set 'relaxLastIteration true;' in "/home/syavash/OpenFOAM/swak4Foam_2.x/Examples/groovyBC/pulsedPitzDaily/system/controlDict.functions.distance"
--> FOAM Warning : 
    From function Foam::solvePDECommon::fvOptions()
    in file solvePDECommon.C at line 100
    No 'fvOptions' found. Returning dummy (no further warnings


--> FOAM FATAL ERROR: 
incompatible dimensions for operation 
    [distance[0 1 -1 0 0 0 0] ] + [constantscalar[0 -1 0 0 0 0 0] ]

    From function checkMethod(const fvMatrix<Type>&, const GeometricField<Type, fvPatchField, volMesh>&)
    in file /home/syavash/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude/fvMatrix.C at line 1356.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  void Foam::checkMethod<double>(Foam::fvMatrix<double> const&, Foam::DimensionedField<double, Foam::volMesh> const&, char const*) at ??:?
#3  Foam::tmp<Foam::fvMatrix<double> > Foam::operator+<double>(Foam::DimensionedField<double, Foam::volMesh> const&, Foam::tmp<Foam::fvMatrix<double> > const&) at ??:?
#4  Foam::solveLaplacianPDE::solve() at ??:?
#5  Foam::solvePDECommon::solveWrapper() at ??:?
#6  Foam::solveLaplacianPDE::solveLaplacianPDE(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool) at ??:?
#7  Foam::OutputFilterFunctionObject<Foam::solveLaplacianPDE>::allocateFilter() at ??:?
#8  Foam::OutputFilterFunctionObject<Foam::solveLaplacianPDE>::start() at ??:?
#9  Foam::functionObjectList::read() at ??:?
#10  Foam::Time::run() const at ??:?
#11  Foam::Time::loop() at ??:?
#12  
 at ??:?
#13  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#14  
 at ??:?
Aborted (core dumped)
Thanks,
Syavash
syavash is offline   Reply With Quote

Reply


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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 06:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 15:52


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