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

setFields error, hangs. What could be the problem?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 12, 2018, 03:10
Default setFields error, hangs. What could be the problem?
  #1
New Member
 
Levente Sz.
Join Date: Mar 2018
Posts: 6
Rep Power: 8
magiclevinho is on a distinguished road
Dear Users,

I m new to Openfoam, therefore I m asking for your help.
When I execute setFields, it hangs, and does nothing, although using 100% of the core. I m using BlueCFD for windows. There is no error message:
My question is that the blockmesh bounding box size should not contact with the initialize-able phase1 geometry (Also_terf.stl)?

Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
Build  : 5.x-963176928289
Exec   : D:/PROGRA~2/BLUECF~1/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin/setFields.exe
Date   : Mar 12 2018
Time   : 07:48:53
Host   : "DESKTOP-93JM3T3"
PID    : 12348
I/O    : uncollated
Case   : D:/Program files/blueCFD-Core-2017/msys64/home/ofuser/simflow7_szukitett/simflow7
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM Warning :
    From function void* Foam::dlOpen(const Foam::fileName&, bool)
    in file MSwindows.C at line 1336
\   LoadLibrary failed. "Error 126: A megadott modul nem tal▒lhat▒.
"
--> FOAM Warning :
    From function bool Foam::dlLibraryTable::open(const Foam::fileName&, bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 105
    could not load "libturbulenceModelSchemes.dll"
Create mesh for time = 0

Reading setFieldsDict

Setting field region values
    Adding cells in relation to surface "constant/triSurface/Also_terf.stl" ...
BLOCKMESHdict:
Code:
FoamFile
{
    version    2.0;
    class    dictionary;
    format    ascii;
    location    "system";
    object    blockMeshDict;
}
convertToMeters    1;
edges    
(
);
vertices    
(
    (-100.0 -100.0 -22.5)
    (100.0 -100.0 -22.5)
    (100.0 80.0 -22.5)
    (-100.0 80.0 -22.5)
    (-100.0 -100.0 52.5)
    (100.0 -100.0 52.5)
    (100.0 80.0 52.5)
    (-100.0 80.0 52.5)
);
blocks    
(
    hex (0 1 2 3 4 5 6 7) (60 60 60) simpleGrading (1.0 1.0 1.0)
);
boundary    
(
        boundaries
    {
        type wall;
        faces
        (
            (0 4 7 3)
            (2 6 5 1)
            (1 5 4 0)
            (3 7 6 2)
            (0 3 2 1)
            (4 5 6 7)
        );
    }

);
SETFIELDSdict:
Code:
FoamFile
{
    version    2.0;
    class    dictionary;
    format    ascii;
    location    "system";
    object    setFieldsDict;
}
regions    (
    surfaceToCell
    {
        file    "constant/triSurface/Also_terf.stl";
        outsidePoints    ((0.0 5.0 -5.0));
        includeInside    true;
        includeOutside    false;
        includeCut    true;
        nearDistance    -1;
        curvature    -100;
        fieldValues    (
            volScalarFieldValue alpha.phase1 1.0
        );
    }
);
magiclevinho is offline   Reply With Quote

Old   March 12, 2018, 10:20
Default
  #2
New Member
 
Levente Sz.
Join Date: Mar 2018
Posts: 6
Rep Power: 8
magiclevinho is on a distinguished road
OK, I found the solution, I had to convert the stl file to ASCII.
magiclevinho is offline   Reply With Quote

Reply

Tags
error, hangs, setfields


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 with interFoam; Wave/wiggle alpha1 behavior JonW OpenFOAM 10 February 4, 2023 08:27
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
Problem in implementing cht tilek CFX 3 May 8, 2011 09:39
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 07:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 20:13


All times are GMT -4. The time now is 19:49.