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

Swak4Foam implementation with OF2.3.0

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 24, 2016, 06:28
Default Swak4Foam implementation with OF2.3.0
  #1
Member
 
Arsalan
Join Date: Jul 2014
Posts: 71
Rep Power: 4
arsalan.dryi is on a distinguished road
Dear Foamers,

I'm trying to use swak4Foam libraries in my new solver that compiled completely and runs successfully without swak implementation, my simulation is a gas-liquid two phase flow with solid body motion mesh. My swak expression that i have added to the controlDict dictionary is shown below :
Code:
libs (
    "libOpenFOAM.so"
    "libtwoPhaseInterfaceProperties.so"
    "libinterfaceProperties.so"
    "libsimpleSwakFunctionObjects.so" 
    "libswakFunctionObjects.so" 
    "libotransitionalParabolicVelocityFvPatchVectorField.so"
    "libswakTopoSources.so"
    "libgroovyBC.so"
);

functions
(
    createInterface
    {
        type createSampledSurface;
        outputControl timeStep;
        outputInterval 1;
        surfaceName interface;
        surface {
            type isoSurface;
            isoField alpha1;
            isoValue 0.5;
            interpolate true;
               }
    }

    Yheight
    {
    
        type swakExpression;
        valueType surface;
        surfaceName interface;
        verbose true;
        expression "pos().y";
        accumulations (
            min
            max
        );        
    }
)
but when i run my solver i get the following error :
Code:
It seems that the method simpleFunctionObject::movePoints is not properly implemented (neither in the class or  any appropriate subclasses).
If you think that it should work anyway add the entry

ignore_unimplemented_simpleFunctionObject::movePoints true;

to the dictionary ".Yheight" and we will go on. Alternativly properly implement the method.

Anyway: I'll go die now



--> FOAM FATAL ERROR: 
Not implemented

    From function simpleFunctionObject::movePoints
    in file helpers/switchableNotImplemented.C at line 85.

FOAM aborting
It should be noted that i ignored the FOAM Warnings like these :
Code:
--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libtwoPhaseInterfaceProperties.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libtwoPhaseInterfaceProperties.so"
--> FOAM Warning : 
    From function dlOpen(const fileName&, const bool)
    in file POSIX.C at line 1179
    dlopen error : libotransitionalParabolicVelocityFvPatchVectorField.so: cannot open shared object file: No such file or directory
--> FOAM Warning : 
    From function dlLibraryTable::open(const fileName&, const bool)
    in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
    could not load "libotransitionalParabolicVelocityFvPatchVectorField.so"

swak4Foam: Allocating new repository for sampledSurfaces
--> FOAM Warning : 
    From function simpleFunctionObject::simpleFunctionObject
    in file simpleFunctionObject/simpleFunctionObject.C at line 109
    'outputControlMode' not found in Yheight
Assuming: timeStep
--> FOAM Warning : 
    From function simpleFunctionObject::simpleFunctionObject
    in file simpleFunctionObject/simpleFunctionObject.C at line 117
    'outputInterval' not found in Yheight
Assuming: 1
swak4Foam: Setting default mesh
My operating system is Ubuntu 12.04 and the Swak version is 0.3.2 (Release date: 2015-05-31) that compiled successfully (since i use this version in OF 2.2.1 without any problem).

Any comments and discussion is greatly appreciated !
Apologies for the long post.

Thank you.

Best Regards,
Arsalan.
arsalan.dryi is offline   Reply With Quote

Reply

Tags
of230, swak4foam

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
InterDyMFoam+simpleFunctionObject Elham OpenFOAM Running, Solving & CFD 0 October 1, 2015 00:28
swak4foam newbie29 OpenFOAM Installation 82 July 18, 2015 17:16
Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 kobayashi OpenFOAM Installation 2 January 5, 2014 18:33
swak4foam fails in parallel with -otherTime? Phicau OpenFOAM Post-Processing 3 June 26, 2013 13:00
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch thomek OpenFOAM Programming & Development 0 October 18, 2010 05:10


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