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

Getting unphysical Temperature with DynamicMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2020, 07:30
Default Getting unphysical Temperature with DynamicMesh
  #1
Member
 
Eren
Join Date: Aug 2018
Posts: 86
Rep Power: 9
ErenC is on a distinguished road
Hello!

I have a case where I have to oscillate a wall in an enclosure(square cavity). Without oscillating wall everything is fine! When I use "reaaaally" low amplitude, it also works. But I also need relatively large amplitudes. Whatever I try (I tried multiple dynamicMesh options, displacementLaplacian for example) I can't get physical results. I get really low and high temperatures near oscillating wall that are lower and higher than boundary conditions, which is impossible!

Here are my files, and help would be great!

Thank you in advance,
Eren.


p boundary conditions are all zeroGradients.



U
Code:
boundaryField
{
    BAWall
    {
        type            noSlip;
    }
    BHWall
    {
        type            noSlip;
    }
    LWall
    {
        type            movingWallVelocity;
        value           uniform (0 0 0);
    }
    RWall
    {
        type            noSlip;
    }
    TWall
    {
        type            noSlip;
    }
    frontAndBack
    {
        type            empty;
    }
}

pointMotionUx
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5                                     |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       pointScalarField;
    object      pointMotionU;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [0 1 -1 0 0 0 0];

internalField   uniform 0;

boundaryField
{
    TWall
    {
        type            uniformFixedValue;
        uniformValue    constant 0;
    }
    LWall
    {
       type            uniformFixedValue;
       uniformValue    sine;
       frequency 10;
       amplitude 0.0001;
       scale     1;
       level     0;
    }
    BHWall
    {
        type            uniformFixedValue;
        uniformValue    constant 0;
    }
    BAWall
    {
        type            uniformFixedValue;
        uniformValue    constant 0;
    }
    RWall
    {
        type            uniformFixedValue;
        uniformValue    constant 0;
    }
    cylinder
    {
        type            uniformFixedValue;
        uniformValue    constant 0;
    }
    backandBack
    {
        type            empty;
    }
    
}

// ************************************************************************* //
dynamicMeshDict
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5                                     |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh   dynamicMotionSolverFvMesh;

motionSolverLibs ("libfvMotionSolvers.so");

motionSolver    velocityComponentLaplacian;

component       x;

diffusivity     directional (0 0 0);


// I ALSO TRIED DIFFERENT DIFFUSIVITIES BUT DIDNT WORK!

// ************************************************************************* //

Last edited by ErenC; March 17, 2020 at 15:26.
ErenC is offline   Reply With Quote

Reply


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
Shadow Wall and temperature norger FLUENT 10 September 28, 2019 12:43
heat transfer coefficient value in floefd jason kid FloEFD, FloWorks & FloTHERM 10 October 16, 2016 17:55
Static temperature and Total temperature Jong-Yoon FLUENT 0 September 25, 2016 02:42
How to get free stream temperature in boundary condition saharesobh FLUENT 0 October 9, 2012 18:12
Highly unexpected occurence of Enforce_bounds error Chander CFX 9 March 8, 2012 18:16


All times are GMT -4. The time now is 23:20.