|
[Sponsors] |
[waves2Foam] Problem in running Allrun and also setWaveFields |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 9, 2015, 08:07 |
Problem in running Allrun and also setWaveFields
|
#1 |
New Member
Ankit
Join Date: Jan 2015
Posts: 2
Rep Power: 0 |
Hi I am having problem in running Allrun command. The problem I am trying is with a fluid domain having two phase air and water with two inlet (INFLOW & AIRINFLOW) and with two outlet (OUTFLOW & AIROUTFLOW). There is a body in the centre of domain which im this case is semi submersible.
The error message gives Code:
bash: .//Allrun: Permission denied Then again the command setWaveField is not running with below error. Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : setWaveField Date : Mar 09 2015 Time : 20:02:04 Host : "ankitubuntu-VPCSB18GG" PID : 4358 Case : /home/ankitubuntu/OpenFOAM/ankitubuntu-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/semi_harish 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; } Reading waveProperties Reading g Reading field alpha --> FOAM FATAL IO ERROR: cannot find file file: /home/ankitubuntu/OpenFOAM/ankitubuntu-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/semi_harish/0/alpha.water at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting Thanks !! Last edited by wyldckat; March 19, 2015 at 15:51. Reason: Added [CODE][/CODE] |
|
March 9, 2015, 08:11 |
|
#2 |
New Member
Pragyandeep
Join Date: Oct 2014
Location: St. John's, Newfoundland
Posts: 2
Rep Power: 0 |
Hi Ankit,
As you can see: file: /home/ankitubuntu/OpenFOAM/ankitubuntu-2.3.0/applications/utilities/waves2Foam/tutorials/waveFoam/semi_harish/0/alpha.water at line 0. waves2Foam cannot find your 0 folder. You only your 0.org folder, thus you must create your 0 folder with the boundary conditions such as alpha.water, U, etc. in it in order for the ./Allrun command file to run. Hope this helps. Kind regards, |
|
March 9, 2015, 09:10 |
|
#3 | |
New Member
Ankit
Join Date: Jan 2015
Posts: 2
Rep Power: 0 |
Quote:
Thanks for Replying. The examples file of Wave2Foam is such that while running waveSetFields it will automatically create alpha, u & P file inside folder "0" which is based on the definition in "0.org" folder and the waveProperties defined under waveProperties.Input. I have tried to do the same here and defined all the necessary file which should create the files in "0" folder but still do not why it is not working in this example. Only thing that I can think could be the reason but not sure is that In my case I have inlet defined as INFLOW which is from -977.4 to 50 in vertical direction and then AIRINFLOW from 50 to 122.6m. The sea level is set at 7m which mean only lies in INFLOW zone. In this case I have defined both INFLOW and AIRFLOW as waveVelocity condition. I am not sure if this is true. |
||
|
|