CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Paraview does not display \<name\>:alpha1 field (https://www.cfd-online.com/Forums/paraview/187010-paraview-does-not-display-name-alpha1-field.html)

blebon April 26, 2017 11:13

Paraview does not display \<name\>:alpha1 field
 
Hello Foamers,

solidificationMeltingSource generates a field \<name\>:alpha1 (where \<name\> is the source name) to represent the liquid fraction. However, Paraview is completely oblivious to this field:

Code:

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

dimensions      [0 0 0 0 0 0 0];

internalField  uniform 0;

boundaryField
{
    "(walls|minZ|maxZ)"
    {
        type            zeroGradient;
    }
}


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

The filename is 0/melt1:alpha1 containing the boundary and initial condition definition, which Paraview simply ignores. Is this a bug?

Thanks,

Bruno

zommuter September 10, 2020 08:56

Did you meanwhile fix this? My suspicion is at least on Windows the colon in the file names causes the problem, but I haven't had time to verify this let alone try a fix...


All times are GMT -4. The time now is 06:10.