CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] problem with blockMesh in floatingObject tutorial (https://www.cfd-online.com/Forums/openfoam-meshing/107731-problem-blockmesh-floatingobject-tutorial.html)

atulAtcae October 5, 2012 04:23

problem with blockMesh in floatingObject tutorial
 
dear all,
im trying to run the floatingObject case in interDyMFoam tutorials, but not able to get the mesh generated. getting the msg as below,
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / 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-bd7367f93311
Exec : blockMesh
Date : Oct 05 2012
Time : 13:45:28
Host : "ubuntu"
PID : 4512
Case : /home/atul/OpenFOAM/atul-2.1.0/run/tutorials/multiphase/interDyMFoam/ras/floatingObject
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

fileName::stripInvalid() called for invalid fileName 0
For debug level (= 2) > 1 this is considered fatal
Aborted (core dumped)


Can anyone pls tell me how to overcome the issue.
thanks in adv.

regards
Atul

wyldckat October 5, 2012 06:55

Greetings Atul and welcome to the forum!

That is one strange message... I've tested just now with OpenFOAM 2.1.0 and 2.1.x and had no problem!

A few questions:
  1. Did you make any changes to the files of the case?
  2. Have you tried copying again the whole case folder from the original version? Because it looks like something got damaged...
  3. Which Linux distribution and version are you using? Knowing would make it easier to try to reproduce the error.
  4. Are you running the Linux distribution inside a virtual machine?
  5. If you're using a virtual machine, are the tutorials placed in a shared folder?
Best regards,
Bruno

atulAtcae October 5, 2012 07:56

Hi Bruno,
Thx for the reply. I tried copying the entire case folder again, but still getting the same msg. Initially in the case folder i copied 0.org and replaced it with 0. this time i tried running it without making any changes in 0.org. as this didnt work, i tried runing allrun file but still not getting anywhere.
i m using linux ubuntu 12.04 LTS, this is the second OS on the computer, but i dont have any problems in running other cases.

regards
Atul

wyldckat October 5, 2012 08:17

Hi Atul,

Strange... very strange. OK, try these steps:
  1. Go to the tutorial "incompressible/icoFoam/cavity":
    Code:

    cd $FOAM_RUN
    cd tutorials/incompressible/icoFoam/cavity

  2. Run:
    Code:

    blockMesh
  3. If there are no errors, run:
    Code:

    rm constant/polyMesh/*
  4. Copy the file "blockMeshDict" from the other case to this one:
    Code:

    cp $FOAM_TUTORIALS/multiphase/interDyMFoam/ras/floatingObject/constant/polyMesh/blockMeshDict constant/polyMesh/
  5. Now try running blockMesh again:
    Code:

    blockMesh
If there are no errors, try this:

Code:

cd $FOAM_RUN

cp -r $FOAM_TUTORIALS/multiphase/interDyMFoam/ras/floatingObject .
cd floatingObject
./Allrun

If all of this works, then the problem might be related to an issue with long paths... or disk damaged or failing... or some other strange thing...
It could also be due to lack of disk space... check:
Code:

df -h
Best regards,
Bruno

atulAtcae October 6, 2012 03:35

Dear Bruno,
Thanks for the suggestion! but ive just rebooted the machine and the blockMesh is working :-). Thanks a lot for the help. will come back to you for any further quires :-)

Thanks
Atul


All times are GMT -4. The time now is 03:39.