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

boundaryFoam postprocessing in the latest openFoam version

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2019, 17:17
Default boundaryFoam postprocessing in the latest openFoam version
  #1
KTG
Member
 
Abe
Join Date: May 2016
Posts: 61
Rep Power: 5
KTG is on a distinguished road
Hi everyone,


The update to the latest version of openFoam seems to have broken the postprocessing I was using for boundaryFoam. Its based on the surface mounted cube casefile, which no longer will run:


Code:
functions
{
    turbulenceFields
    {
        type            turbulenceFields;
        libs            ("libfieldFunctionObjects.so");
        writeControl    writeTime;
        fields          (R nuTilda k epsilon omega L);
    }

    surfaces
    {
        type            surfaces;
        surfaceFormat   boundaryData;
        writeControl    writeTime;
        interpolationScheme cell;
        fields
        (
            U
            turbulenceProperties:R
            turbulenceProperties:nuTilda
            turbulenceProperties:L
        );
        surfaces
        (
            inlet
            {
                type            patch;
                patches         (inlet);
                interpolate     false;
            }
        );
    }
}


This code gives me: --> FOAM FATAL ERROR: Unknown write type "boundaryData"



If I change the type to something valid, I get:


Code:
--> FOAM FATAL ERROR: 
attempted assignment to self

    From function void Foam::DimensionedField<Type, GeoMesh>::operator=(const Foam::DimensionedField<Type, GeoMesh>&) [with Type = double; GeoMesh = Foam::volMesh]
    in file /home/ubuntu/OpenFOAM/OpenFOAM-7/src/OpenFOAM/lnInclude/DimensionedField.C at line 520.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::DimensionedField<double, Foam::volMesh>::operator=(Foam::DimensionedField<double, Foam::volMesh> const&) in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/boundaryFoam"
#3  Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::operator==(Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/boundaryFoam"
#4  void Foam::functionObjects::turbulenceFields::processField<double>(Foam::word const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ??:?
#5  Foam::functionObjects::turbulenceFields::execute() at ??:?
#6  Foam::functionObjects::timeControl::execute() at ??:?
#7  Foam::functionObjectList::execute() at ??:?
#8  Foam::Time::run() const at ??:?
#9  Foam::Time::loop() at ??:?
#10  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/boundaryFoam"
#11  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#12  ? in "/opt/openfoam7/platforms/linux64GccDPInt32Opt/bin/boundaryFoam"
Aborted (core dumped)

Does anyone know what happened, and how this is supposed to work now? I don't see any tutorials in the current release using boundaryFoam that actually map the output or use function objects.


Thanks
KTG is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
Foam::error::printStack(Foam::Ostream&) at ??:? mdhfiz OpenFOAM Running, Solving & CFD 1 September 19, 2019 10:46
Sudden contration MrAndersDk OpenFOAM Running, Solving & CFD 30 October 11, 2018 04:23
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 04:18
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36


All times are GMT -4. The time now is 09:33.