|
[Sponsors] |
[OpenFOAM] ./Allrun: 24: ./Allrun: cannot create /opt/openfoam220/etc/controlDict: |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 9, 2013, 09:20 |
|
#21 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Amin,
About the post #19: potentialFoam writes the field(s) in the same folder. It's designed this way because it's one of the simplest solvers there are... it simply solves the perfect potential flow. It even barely iterates... therefore, the developers probably thought that it wasn't necessary to save the results in a new time/instance snapshot. About post #20: Quote:
Code:
./Allrun Bruno
__________________
|
||
July 23, 2013, 13:18 |
|
#22 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Good Day Romant,
As per your instructions, I made folder name called david, Again I am trying to run cylinder in OF 2.1. but I got the same error, kindly help me and also I set Enabling allowSystemOperations 0 to 1 and I also I changed U Code:
left { type uniformFixedValue; uniformValue uniform (1 0 0); } Code:
cp -r 0.org 0 runApplication blockMesh----------->checkMesh also works fine runApplication streamFunction I got error like this, toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/run/openfoam210/tutorials/basic/potentialFoam/david/cylinder$ streamFunction /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.0-0bc225064152 Exec : streamFunction Date : Aug 08 2013 Time : 21:02:50 Host : "ubuntu" PID : 6794 Case : /home/toshiba/OpenFOAM/toshiba-2.1.0/run/openfoam210/tutorials/basic/potentialFoam/david/cylinder 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 Time: 0 --> FOAM Warning : From function streamFunction in file streamFunction.C at line 457 Flux field does not exist. Stream function not calculated End -------------------------------------------------------------------------------------------------------------------------------------------------------------------- Code:
toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/run/openfoam210/tutorials/basic/potentialFoam/david/cylinder$ potentialFoam /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.0-0bc225064152 Exec : potentialFoam Date : Aug 08 2013 Time : 21:03:14 Host : "ubuntu" PID : 6796 Case : /home/toshiba/OpenFOAM/toshiba-2.1.0/run/openfoam210/tutorials/basic/potentialFoam/david/cylinder 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 --> FOAM FATAL ERROR: Unknown DataEntry type uniform for DataEntry uniformValue Valid DataEntry types are: 4 ( constant csvFile table tableFile ) From function DataEntry<Type>::New(Istream&) in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/DataEntryNew.C at line 48. FOAM exiting toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/run/openfoam210/tutorials/basic/potentialFoam/david/cylinder$
__________________
Million Thanks, David "Small Dream is a Crime" Last edited by wyldckat; August 18, 2013 at 09:22. Reason: Added [CODE][/CODE] |
|
August 18, 2013, 09:55 |
|
#23 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi David,
I'll address one topic at a time:
So, I'm not able to reproduce the same error, but the error seems familiar to me, so perhaps I have modified my OpenFOAM 2.1.0 installation... Either way, I advise you to upgrade to either OpenFOAM 2.1.1 ( http://www.openfoam.org/archive/2.1....oad/ubuntu.php ) or even to 2.2.1 ( http://www.openfoam.org/download/ubuntu.php ). As you can see from these links, I'm assuming you are using Ubuntu. edit: Also study in the Programmers Guide - http://foam.sourceforge.net/docs/Gui...mmersGuide.pdf - start reading from the section 3.1 "low around a cylinder" Best regards, Bruno
__________________
Last edited by wyldckat; August 18, 2013 at 10:26. Reason: see "edit: Also study in the Programmers Guide" |
||
August 19, 2013, 08:49 |
|
#24 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Million Thanks Bruno, I check blockMesh it works fine. I can understand up to step 4.4 , the results are below
Code:
toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/run/tutorials/basic/potentialFoam/cylinder$ ./Allrun Modifying /home/toshiba/.OpenFOAM/2.1.0/controlDict to enable allowSystemOperations Enabling allowSystemOperations in /home/toshiba/.OpenFOAM/2.1.0/controlDict. Running blockMesh on /home/toshiba/OpenFOAM/toshiba-2.1.0/run/tutorials/basic/potentialFoam/cylinder Running potentialFoam on /home/toshiba/OpenFOAM/toshiba-2.1.0/run/tutorials/basic/potentialFoam/cylinder Running streamFunction on /home/toshiba/OpenFOAM/toshiba-2.1.0/run/tutorials/basic/potentialFoam/cylinder toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/run/tutorials/basic/potentialFoam/cylinder$ potentialFoam -writep /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.1.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.1.0-0bc225064152 Exec : potentialFoam -writep Date : Aug 19 2013 Time : 17:04:41 Host : "ubuntu" PID : 3157 Case : /home/toshiba/OpenFOAM/toshiba-2.1.0/run/tutorials/basic/potentialFoam/cylinder 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 Calculating potential flow Using dynamicCode for functionObject difference at line 53 in "/home/toshiba/OpenFOAM/toshiba-2.1.0/run/tutorials/basic/potentialFoam/cylinder/system/controlDict::functions::difference" DICPCG: Solving for p, Initial residual = 1, Final residual = 7.87068e-07, No Iterations 76 DICPCG: Solving for p, Initial residual = 0.0126096, Final residual = 7.71198e-07, No Iterations 64 DICPCG: Solving for p, Initial residual = 0.0025829, Final residual = 9.49278e-07, No Iterations 59 DICPCG: Solving for p, Initial residual = 0.000902306, Final residual = 8.48077e-07, No Iterations 57 continuity error = 3.37204e-05 Interpolated U error = 1.1896e-05 Looking up field U Reading inlet velocity uInfX U at inlet = 1 m/s Cylinder radius = 0.499614 m Evaluating analytical solution Writing relative error in U to "/home/toshiba/OpenFOAM/toshiba-2.1.0/run/tutorials/basic/potentialFoam/cylinder/0/error" ExecutionTime = 0.08 s ClockTime = 0 s End toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/run/tutorials/basic/potentialFoam/cylinder$ Code:
There is no other time folder, because potentialFoam is an extremely basic folder that loads and saves the results to the same time folder.
__________________
Million Thanks, David "Small Dream is a Crime" |
|
August 19, 2013, 11:18 |
|
#25 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi David,
Quote:
There you'll find instructions on how to use ParaView with OpenFOAM. What I meant by "no other time folders" is that other solvers usually create more time snapshots, while potentialFoam does not. For example, the first run of icoFoam in the cavity tutorial (on that link above), will create 5 new time folders: Code:
0.1 0.2 0.3 0.4 0.5 Bruno
__________________
|
||
August 20, 2013, 03:05 |
|
#26 |
Member
david
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 62
Rep Power: 12 |
Many Apologize Bruno I get confused, I thought Potential Foam create more snapshots,thanks for response and information.
Kindly see my another post in this link [ http://www.cfd-online.com/Forums/ope...tml#post446556 ] I edit blockMeshDict, kindly give your suggestion.
__________________
Million Thanks, David "Small Dream is a Crime" |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using createPatch and cyclicAMI in FOAM Extend to create periodicbox | manuc | OpenFOAM Running, Solving & CFD | 1 | April 12, 2022 12:36 |
create the file *.foam | phongstar | OpenFOAM | 12 | October 14, 2018 19:06 |
[GAMBIT] How to plot S pipe | mariam.sara | ANSYS Meshing & Geometry | 36 | November 7, 2013 16:22 |
[ANSYS Meshing] is it possible to create virtual edges on the blades | er_ijaz | ANSYS Meshing & Geometry | 0 | November 3, 2013 06:15 |
[DesignModeler] Design Modeller create surface | papis | ANSYS Meshing & Geometry | 0 | October 31, 2013 14:52 |