CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

sampleDict with adaptive mesh refinement

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2020, 05:25
Default sampleDict with adaptive mesh refinement
Join Date: Jan 2019
Posts: 60
Rep Power: 4
mcfdma is on a distinguished road

I am working with a 2D adaptive mesh refinement case. The simulation was run parallelly and upon completion I used reconstructParMesh to get the polyMesh file followed by reconstruct to get all the fields.

However, I am facing issues while post-processing.

	type 		sets;
	libs		("");
	setFormat	csv;
	fields		(alpha.water rhoE grad(Ue) mag(grad(Ue)) U);
	interpolationScheme	cellPoint;

    line_p0.01mm //0.01  ---------------------------------5
        type        uniform;
        axis        y;

        start       (0.01e-3  0.0      0.0);
        end         (0.01e-3  0.15e-3   0.0);
        nPoints     500;
However, due to refinement, the alpha size which I set to refine in dynamicMeshDict file, is not the same at different time steps. The error I am getting:

Reading fields:
    volScalarField: alpha.water mag(grad(Ue))--> FOAM Warning : 
size 68141 is not equal to the given value of 98360

file: /home/m/OpenFOAM/m-v1812/research/DyM/CSF/LMI_DyM2a/0.002/mag(grad(Ue))

    From function Foam::Field<Type>::Field(const Foam::word&, const Foam::dictionary&, Foam::label) [with Type = double; Foam::label = int]
    in file /home/m/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude/Field.C at line 219.

How can I sample???
mcfdma is offline   Reply With Quote


amr, sampledict

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
[snappyHexMesh] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 10 August 5, 2019 19:18
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
[snappyHexMesh] Snappy Hex Mesh - issue with smoothness of the model edges olek.warc OpenFOAM Meshing & Mesh Conversion 1 August 31, 2018 11:31
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 17:12

All times are GMT -4. The time now is 04:17.