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

Error in PimpleDyMFoam/propeller tutorial

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   March 19, 2014, 01:33
Default Error in PimpleDyMFoam/propeller tutorial
  #1
New Member
 
Join Date: Jul 2013
Posts: 21
Rep Power: 4
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
New Member
 
Join Date: Jul 2013
Posts: 21
Rep Power: 4
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 OpenFoam beginer 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: 226
Rep Power: 6
Artur is on a distinguished road
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANSYS Meshing] I need tutorial files colorful ANSYS Meshing & Geometry 5 September 19, 2014 01:21
Problem on Fluent Tutorial: Horizontal Film Boilig Feng FLUENT 2 April 13, 2013 05:34
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 16:01
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 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 04:46.