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

setFields dict not working properly with Pointwise mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2023, 18:45
Default setFields dict not working properly with Pointwise mesh
  #1
New Member
 
Join Date: Jul 2021
Posts: 16
Rep Power: 5
Legacy is on a distinguished road
Hello.
I'm facing a weird problem. I am trying to simulate a two phase flow around tandem cylinders and setFields utility cannot set the domain between (-0.025 < z < 0) to alpha.1=1.
It generates random field. I assume the numbering of the mesh is wrong somewhere. Any ideas how to fix this?

Code:
defaultFieldValues
(
    volScalarFieldValue alpha.1 0
);

regions
(
    boxToCell
    {
        box (-1.5 -1 -0.025) (1.5 1 0);
        fieldValues
        (
        volScalarFieldValue alpha.1 1
        );

    }

);

Code:
Checking geometry...
    Overall domain bounding box (-1.5 -1 -0.025) (1.5 1 0)
    Mesh has 3 geometric (non-empty/wedge) directions (1 1 1)
    Mesh has 3 solution (non-empty) directions (1 1 1)
    Boundary openness (3.76656e-15 2.6662e-15 4.39426e-15) OK.
    Max cell openness = 3.4972e-16 OK.
    Max aspect ratio = 49.1753 OK.
    Minimum face area = 9.05366e-08. Maximum face area = 0.000120445.  Face area magnitudes OK.
    Min volume = 6.33756e-11. Max volume = 7.73568e-07.  Total volume = 2.61402.  Cell volumes OK.
    Mesh non-orthogonality Max: 59.85 average: 10.4086
    Non-orthogonality check OK.
    Face pyramids OK.
    Max skewness = 0.980032 OK.
    Coupled point location match (average 0) OK.

Mesh OK.


Thanks.
Attached Images
File Type: jpg Screenshot 2023-07-27 at 4.38.45 PM.jpg (43.7 KB, 4 views)

Last edited by Legacy; July 27, 2023 at 19:06. Reason: Added checkMesh results
Legacy is offline   Reply With Quote

Reply

Tags
openfoam 2112, setfielddict


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
Dynamic gradient mesh adaption not working properly MarkelRF FLUENT 0 August 28, 2018 06:19
[ICEM] Replay not working properly - Creating the mesh for Free Block. Wingman ANSYS Meshing & Geometry 4 January 17, 2017 04:57
hybrid mesh created by pointwise fails mesh check in fluent due to left-handed faces Hamid.de Pointwise & Gridgen 4 November 9, 2016 12:20
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 19:10


All times are GMT -4. The time now is 12:41.