Skip to content
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
CFD中文网

CFD中文网

G

GenhouSUN

@GenhouSUN
关于
帖子
4
主题
2
群组
0
粉丝
0
关注
4

帖子

最新

  • 局部加密区域跨两个block,运行topoSet和refineMesh命令会报错
    G GenhouSUN

    最近是用topoSet和refineMesh局部加密。如果加密区域在单个block内可以正常运行,但加密区域在两个内就会出错。
    我的疑问:topoSet和refineMesh命令:topoSet 和 refineMesh 选定的区域不能包含两个block对么? 如果想对横跨两个block的区域加密,怎么实现呢? 是在各自的block内分别加密么?
    topoSet和refineMesh 运行都是正确的

    两个block信息如下
    vertices
    (
    ( 0.0 0.0 -10.0)
    ( 100.0 0.0 -10.0)
    ( 100.0 5 -10.0)
    ( 0.0 5 -10.0)

       ( 0.0 0.0 5.0)
       ( 100.0 0.0 5.0)
       ( 100.0 5 5.0)
       ( 0.0 5 5.0)
    
      ( 0.0 0.0 100.0)
      ( 100.0 0.0 100.0)
      ( 100.0 5 100.0)
     ( 0.0 5 100.0)
    

    );

    blocks
    (
    hex (0 1 2 3 4 5 6 7) (200 10 30) simpleGrading (1 1 0.2)
    hex ( 4 5 6 7 8 9 10 11) (200 10 200) simpleGrading (1 1 5)

    );

    topoSet命令如下
    actions
    (
    {
    name c0;
    type cellSet;
    action new;
    source boxToCell;
    box (0 0 -3) (100 5 10);
    }
    );

    refineMesh的命令
    refineMesh -overwrite的命令运行也正常

    checkMesh -allTopology -allGeometry结果如下
    /---------------------------------------------------------------------------
    | ========= | |
    | \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \ / O peration | Version: 2206 |
    | \ / A nd | Website: www.openfoam.com |
    | \/ M anipulation | |
    *---------------------------------------------------------------------------*/
    Build : _76d719d1e6-20220624 OPENFOAM=2206 version=v2206
    Arch : "LSB;label=32;scalar=64"
    Exec : /BIGDATA1/app/OpenFOAM/2206/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/checkMesh -allTopology -allGeometry
    Date : Jan 11 2024
    Time : 11:19:36
    Host : cn7359
    PID : 10713
    I/O : uncollated
    Case : /BIGDATA1/nieer_cwfu_1/OpenFOAM/OpenFOAM22_RUN/tutorials/multiphase/interFoam/laminar/waves/stokesV_test/test_ABL03
    nProcs : 1
    trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
    allowSystemOperations : Allowing user-supplied system call operations

    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time

    Create mesh for time = 0

    Enabling all (cell, face, edge, point) topology checks.

    Enabling all geometry checks.

    Time = 0

    Mesh stats
    points: 2168121
    faces: 6267050
    internal faces: 6092950
    cells: 2050000
    faces per cell: 6.02927
    boundary patches: 7
    point zones: 0
    face zones: 0
    cell zones: 0

    Overall number of cells of each type:
    hexahedra: 2030000
    prisms: 0
    wedges: 0
    pyramids: 0
    tet wedges: 0
    tetrahedra: 0
    polyhedra: 20000
    Breakdown of polyhedra by number of faces:
    faces number of cells
    9 20000

    Checking topology...
    Boundary definition OK.
    ***Total number of faces on empty patches is not divisible by the number of cells in the mesh. Hence this mesh is not 1D or 2D.
    Cell to face addressing OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Topological cell zip-up check OK.
    Face-face connectivity OK.
    Number of regions: 1 (OK).

    Checking patch topology for multiply connected surfaces...
    Patch Faces Points Surface topology Bounding box
    inlet_water 960 1031 ok (non-closed singly connected) (0 0 -10) (0 5 5)
    inlet_air 3090 3331 ok (non-closed singly connected) (0 0 5) (0 5 100)
    outlet_water 960 1031 ok (non-closed singly connected) (100 0 -10) (100 5 5)
    outlet_air 3090 3331 ok (non-closed singly connected) (100 0 5) (100 5 100)
    ground 2000 2211 ok (non-closed singly connected) (0 0 -10) (100 5 -10)
    top 2000 2211 ok (non-closed singly connected) (0 0 100) (100 5 100)
    sides 162000 164062 ok (non-closed singly connected) (0 0 -10) (100 5 100)

    Checking faceZone topology for multiply connected surfaces...
    No faceZones found.

    Checking basic cellZone addressing...
    No cellZones found.

    Checking geometry...
    Overall domain bounding box (0 0 -10) (100 5 100)
    Mesh has 2 geometric (non-empty/wedge) directions (1 0 1)
    Mesh has 2 solution (non-empty) directions (1 0 1)
    All edges aligned with or perpendicular to non-empty directions.
    Boundary openness (-1.6938e-16 1.59973e-16 0) OK.
    Max cell openness = 1.08181e-16 OK.
    Max aspect ratio = 4.84872 OK.
    Minimum face area = 0.015625. Maximum face area = 0.49938. Face area magnitudes OK.
    Min volume = 0.00298312. Max volume = 0.24969. Total volume = 55000. Cell volumes OK.
    Mesh non-orthogonality Max: 29.5789 average: 1.99555
    Non-orthogonality check OK.
    Face pyramids OK.
    Max skewness = 0.497993 OK.
    Coupled point location match (average 0) OK.
    Face tets OK.
    Min/max edge length = 0.125 0.99876 OK.
    All angles in faces OK.
    Face flatness (1 = flat, 0 = butterfly) : min = 1 average = 1
    All face flatness OK.
    Cell determinant (wellposedness) : minimum: 0.0490101 average: 0.322733
    Cell determinant check OK.
    ***Concave cells (using face planes) found, number of cells: 20000
    <<Writing 20000 concave cells to set concaveCells
    Face interpolation weight : minimum: 0.486115 average: 0.497888
    Face interpolation weight check OK.
    Face volume ratio : minimum: 0.236503 average: 0.982199
    Face volume ratio check OK.

    Failed 1 mesh checks.

    End


  • 【求教】OpenFoam模拟波浪的壁面函数设置
    G GenhouSUN

    各位好。
    我想请教个使用LES+ 壁面函数模拟波浪的壁面函数设置问题。
    我想问壁面函数 只能用在边界上么? 能不能用在中间某一高度层?如果可以 该怎么设置
    我想搭建一个长方体,立方体下半部分是水,水上方是空气,以此来探讨风驱动波浪以及浪影响风的过程。这种情形下还可以在水-气界面使用壁面函数么? 如果可以 该怎么设置呢?
    提前谢谢大家啦


  • waves2Foam编译问题
    G GenhouSUN

    @卡洛 你好 请问gcc使用的哪个版本呀?


  • waves2Foam编译问题
    G GenhouSUN

    @卡洛 你好 可以分享下 你编译时的gfortran gsl git 和svn对应的版本么? 我也是卡了很久不知道该怎么解决。。。 非常感谢

  • 登录

  • 登录或注册以进行搜索。
  • 第一个帖子
    最后一个帖子
0
  • 最新
  • 版块
  • 东岳流体
  • 随机看[请狂点我]