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

[swak4Foam] implementation with OF2.3.0

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2016, 06:28
Default implementation with OF2.3.0
  #1
Member
 
Arsalan
Join Date: Jul 2014
Posts: 74
Rep Power: 12
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


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
Free CFD code with implementation of Menter's k-omega SST model nikola_m Main CFD Forum 2 May 8, 2020 13:13
Issues in FGM combustion model implementation Lisandro Maders OpenFOAM Programming & Development 15 April 22, 2020 20:18
a little confused with the implementation of compressibleInterFoam su_junwei OpenFOAM Running, Solving & CFD 2 May 7, 2014 18:33
Implementation issues of fvSchemes / laplacianScheme, in particular gaussLaplacianSch thomek OpenFOAM Programming & Development 0 October 18, 2010 06:10
Please explain the implementation of species transport Eqn in reactingFoam kallipygian OpenFOAM Running, Solving & CFD 0 October 13, 2008 08:29


All times are GMT -4. The time now is 16:29.