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

Error in PimpleDyMFoam/propeller tutorial

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2014, 01:33
Default Error in PimpleDyMFoam/propeller tutorial
  #1
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Dear all,
I am new user of OpenFoam. While going through the tutorials, i am facing error in propeller tutorial. I followed the Allrun.pre commands. but one of the following command showing the error. Please help me out.
here is the error message. i don't understand where is the log.topoSet file

root@PU-LT-0037:/opt/openfoam220/tutorials/incompressible/pimpleDyMFoam/propeller# topoSet -dict system/removeRedundantZones.topoSetDict
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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 : topoSet -dict system/removeRedundantZones.topoSetDict
Date : Mar 19 2014
Time : 10:30:03
Host : "PU-LT-0037"
PID : 3366
Case : /opt/openfoam220/tutorials/incompressible/pimpleDyMFoam/propeller
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 polyMesh for time = 0

Reading topoSetDict

Time = 0
mesh not changed.
Removing set
Removing zone innerCylinder at index 0
Removing set
Removing zone innerCylinderSmall at index 0

End

root@PU-LT-0037:/opt/openfoam220/tutorials/incompressible/pimpleDyMFoam/propeller# mv log.topoSet log.removeRedundantZones.topoSet
mv: cannot stat `log.topoSet': No such file or directory
root@PU-LT-0037:/opt/openfoam220/tutorials/incompressible/pimpleDyMFoam/propeller# ^C
monty86 is offline   Reply With Quote

Old   March 19, 2014, 17:40
Default
  #2
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
Quick answer: Since you're not following at 100% the lines in the scripts, that means that there are no log files created, therefore it doesn't make much sense to move a file that was never created in the first place.

If you're new to using a shell and looking at scripts like these, I suggest that you study this page and the links suggested there: http://openfoamwiki.net/index.php/In...with_the_Shell
wyldckat is offline   Reply With Quote

Old   March 21, 2014, 02:50
Default
  #3
Member
 
Join Date: Jul 2013
Posts: 34
Rep Power: 13
monty86 is on a distinguished road
Dear sir,
Yes i am very new to OpenFoam & Linux.
For getting in to this i am going through the tutorials that are given in openFoam.
I am going through the Shell documents as you mentioned.
Simultaneously when i run propeller tutorial again with following command.
I got Foam Fatal error.

In command terminal i added following commands.

./Allrun.pre
./Allrun
After running this when i open paraFoam, it suddenly closed when i select apply button in paraFoam & i got following warning in terminal.

root@PU-LT-0037:~/OpenFOAM/root-2.2.0/run/tutorials/incompressible/pimpleDyMFoam/propeller# paraFoam
created temporary 'propeller.OpenFOAM'


--> FOAM FATAL IO ERROR:
Cannot find patchField entry for AMI1

file: /root/OpenFOAM/root-2.2.0/run/tutorials/incompressible/pimpleDyMFoam/propeller/0/p.boundaryField from line 26 to line 42.

From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh>&, const dictionary&)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 154.

FOAM exiting

Segmentation fault (core dumped)

when i see p file from 0 directory AMI patch is not mentioned there.
Frankly speaking i am very new to OpenFoam & dont have any idea about how to add patches. How i can run this tutorial?

Please help me out as this is my learning stage.

__________________________
[Moderator note: Moved this post + merged with a similar one already here, as well as moved Artur's answer from the thread http://www.cfd-online.com/Forums/ope...beginer-2.html to here]

Last edited by wyldckat; March 23, 2014 at 17:37.
monty86 is offline   Reply With Quote

Old   March 21, 2014, 05:35
Default
  #4
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20
Artur will become famous soon enough
Unless you changed the tutorial files executing just the Allrun script should do everything that you need (note that it does execute the Allrun.pre itself, no need to do it manually yourself).

You're right in your conclusion that it's the problem with AMI boundary condition. However, I just ran the same tutorial on my machine and the AMI BC's have been created as required by the createBaffles utility. Perhaps you should try cleaning your case and running just the Allrun script? My feeling is that somehow you have overwritten the patch entries created by the createBaffles and that's why they are not there. Another option is to add the following to your boundary files:

Code:
AMI1
    {
        type            cyclicAMI;
        value           uniform (0 0 0);
    }
    AMI2
    {
        type            cyclicAMI;
        value           uniform (0 0 0);
    }
replacing (0 0 0) with 0 for scalars.

All the best,

A
Artur is offline   Reply With Quote

Old   March 23, 2014, 17:41
Default
  #5
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!

@monty86: To complement Artur's answer:
Running as "root" is a very bad idea, because you're risking damaging the installation of the operating system and not being able to log in next time you reboot the machine.
The specific risk is that you might accidentally perform a deletion of files that are critical to the system, instead of only removing the files and folders you wanted to remove.

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

Old   May 13, 2016, 06:21
Default
  #6
Member
 
Aldias Bahatmaka
Join Date: Aug 2015
Location: Geoje Island, South Korea
Posts: 43
Rep Power: 11
bmaldi is on a distinguished road
Quote:
Originally Posted by Artur View Post
Unless you changed the tutorial files executing just the Allrun script should do everything that you need (note that it does execute the Allrun.pre itself, no need to do it manually yourself).

You're right in your conclusion that it's the problem with AMI boundary condition. However, I just ran the same tutorial on my machine and the AMI BC's have been created as required by the createBaffles utility. Perhaps you should try cleaning your case and running just the Allrun script? My feeling is that somehow you have overwritten the patch entries created by the createBaffles and that's why they are not there. Another option is to add the following to your boundary files:

Code:
AMI1
    {
        type            cyclicAMI;
        value           uniform (0 0 0);
    }
    AMI2
    {
        type            cyclicAMI;
        value           uniform (0 0 0);
    }
replacing (0 0 0) with 0 for scalars.

All the best,

A
hello brother,.
i already did at all,. for the tutorial just done and i got the result,.
but when i was trying to change the propeller geometry, and change also the boundary, after that i couldn't run and it was stopped, may could you give the tutorial or steps how to simulate propeller in openfoam? please need your helps,
best regards,
Aldi
bmaldi 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
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 06:34
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 17:01
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
STAR-CD Tutorial shekhar aryal STAR-CD 4 March 22, 2010 04:25


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