CFD中文网

    CFD中文网

    • 登录
    • 搜索
    • 最新

    关于internalField nonuniform List<scalar>如何定义

    OpenFOAM
    3
    7
    68
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 洱聿
      洱聿 最后由 编辑

      在/multiphase/bubbleFoam/bubbleColumn/0/p/ 的文件夹下,关于内部场的定义采用如下方式:

      internalField   nonuniform List<scalar>
      1875
      (?
      )
      ;
      

      1875代表的是模型的网格数量,但是不知道()括号中的数据是如何产生的?

      /multiphase/bubbleFoam/bubbleColumn/0/p/的代码如下:

      /*--------------------------------*- C++ -*----------------------------------*\
      | =========                 |                                                 |
      | \\      /  F ield         | foam-extend: Open Source CFD                    |
      |  \\    /   O peration     | Version:     4.0                                |
      |   \\  /    A nd           | Web:         http://www.foam-extend.org         |
      |    \\/     M anipulation  |                                                 |
      \*---------------------------------------------------------------------------*/
      FoamFile
      {
          version     2.0;
          format      ascii;
          class       volScalarField;
          object      p;
      }
      // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
      
      dimensions      [1 -1 -2 0 0 0 0];
      
      internalField   nonuniform List<scalar>
      1875
      (
      6296.13
      6183.25
      6130.53
      6102.97
      6085.59
      6070.83
      6056.52
      6042.12
      6032.24
      6023.39
      6020
      6019.35
      6022.8
      6035.92
      6058.4
      6096.69
      6151.53
      6194.63
      6220.36
      6227.39
      6190.28
      6200.25
      6159.79
      6145.34
      6239.45
      5932.88
      5894.83
      5896
      5896.13
      5896.42
      5893.93
      5892.58
      5888.84
      5884.44
      5877.96
      5872.77
      5864.16
      5858.72
      5859.75
      5863.29
      5874.06
      5903.63
      5933.39
      5949.13
      5948.76
      5936.64
      5920.16
      5894.61
      5887.73
      5904.59
      5829.55
      5827.28
      5827.17
      5826.79
      5820.6
      5810.48
      5802.08
      5795.34
      5787.03
      5775.04
      5773.95
      5776.62
      5774.94
      5777.31
      5779.57
      5787.46
      5807.7
      5827.9
      5860.51
      5895.43
      5910.03
      5904.37
      5908.12
      5902.27
      5915.81
      5680.23
      5677.28
      5676.59
      5674.62
      5670.55
      5664.23
      5662.59
      5662.65
      5654.98
      5651.9
      5655.82
      5654.19
      5660.21
      5667.38
      5675.59
      5686.03
      5699.99
      5707.47
      5731.06
      5747.04
      5757.95
      5746.13
      5751.94
      5752.54
      5756.48
      5596.51
      5594.34
      5595.28
      5587.93
      5584.85
      5580.19
      5581.94
      5583.69
      5581.75
      5582.87
      5588.62
      5593.54
      5600.08
      5606.28
      5613.47
      5620.91
      5626.09
      5639.9
      5656.52
      5690.9
      5692.53
      5685.55
      5691.46
      5690.28
      5692.68
      5500.77
      5499.4
      5498.12
      5490.19
      5484.73
      5481.73
      5483.39
      5482.97
      5483.81
      5486.56
      5489.45
      5492.85
      5498.29
      5502.79
      5509.32
      5513.74
      5523.43
      5538.03
      5541.75
      5560.77
      5558.05
      5558.63
      5564.38
      5561.96
      5569.11
      5429.77
      5429.37
      5425.69
      5419.15
      5415.38
      5412.85
      5412.65
      5411.07
      5410.11
      5408.78
      5409.05
      5408.7
      5412.7
      5415.54
      5421.1
      5425.72
      5431.77
      5440.25
      5439.18
      5444.29
      5457.33
      5463.86
      5472.09
      5470.76
      5481.47
      5339.81
      5337.93
      5335.2
      5328.01
      5325.1
      5320.24
      5318.66
      5315.69
      5313.67
      5312.31
      5310.7
      5311.52
      5313.88
      5317.44
      5323.51
      5333.7
      5347.39
      5349.64
      5342.77
      5322.66
      5327.03
      5336.54
      5355.71
      5357.95
      5365.12
      5251.22
      5257.02
      5245.19
      5241.32
      5235.96
      5230.82
      5224.79
      5220.71
      5215.58
      5212.63
      5208.81
      5207.86
      5209.49
      5211.23
      5215.25
      5217.38
      5227.33
      5236.75
      5234.3
      5218.38
      5221.33
      5238.35
      5270.98
      5297.32
      5285.38
      5134.78
      5141.28
      5129.11
      5125.34
      5118.41
      5113.56
      5104.26
      5098.63
      5091.73
      5085.87
      5080.29
      5076.67
      5075.57
      5074.74
      5078.38
      5083.91
      5093.59
      5100.11
      5107.38
      5107.94
      5122.84
      5155.95
      5184.47
      5216.19
      5206.06
      5029.85
      5023.59
      5029.5
      5013.09
      5006.47
      5001.87
      4991.19
      4982.46
      4973.99
      4966.68
      4961.15
      4956.84
      4956.99
      4958.22
      4962.14
      4968.3
      4976.1
      4986.28
      4991.41
      4991.3
      4995.3
      5013.36
      5037.47
      5054.9
      5054.19
      4890.06
      4882.82
      4894.45
      4873.06
      4880.32
      4867.96
      4857.91
      4849.54
      4841.6
      4834.95
      4830.57
      4826.25
      4825.98
      4826
      4828.43
      4831.83
      4833.12
      4837.79
      4826.5
      4809.86
      4805.99
      4807.58
      4826.08
      4838.35
      4849.96
      4714.62
      4711.97
      4714.51
      4705
      4712.73
      4717.07
      4710.49
      4705.38
      4701.03
      4698.8
      4697.36
      4696.05
      4695.76
      4695.5
      4695.28
      4694.77
      4692.61
      4684.45
      4666.01
      4637.19
      4617.3
      4609.3
      4624.85
      4629.39
      4642.5
      4523.06
      4524.71
      4511.18
      4518.2
      4532.12
      4535.39
      4532.36
      4536.62
      4540.76
      4541.39
      4546.94
      4550.14
      4553.57
      4554.46
      4552.79
      4548.86
      4539.3
      4524.99
      4496.6
      4460.83
      4442.56
      4425.45
      4434.71
      4439.78
      4450.38
      4371.81
      4372.7
      4361.27
      4367.5
      4369.38
      4376.32
      4375.22
      4378.42
      4383.14
      4389.68
      4398.4
      4408.96
      4416.32
      4420.86
      4420.99
      4416.68
      4401.43
      4378.84
      4354.01
      4322.2
      4302.78
      4293.71
      4296.25
      4303.54
      4305.22
      4239.77
      4240.95
      4230.58
      4241.42
      4249.56
      4255.4
      4253.65
      4259.03
      4262.5
      4269.1
      4276.6
      4286.18
      4297.58
      4303.77
      4311.08
      4299.92
      4285.78
      4267.75
      4237.04
      4223.55
      4200.59
      4202.11
      4196.31
      4204.32
      4206.45
      4146.5
      4145.49
      4139.78
      4144.33
      4155.96
      4170.77
      4169.64
      4166.97
      4162.64
      4164.54
      4168.33
      4176.24
      4182.78
      4189.55
      4185.86
      4184.88
      4173.3
      4158.6
      4140.45
      4133.47
      4115.66
      4121.51
      4116.35
      4120.3
      4121.23
      4102.95
      4103.86
      4099.71
      4102.17
      4104.47
      4111.01
      4105.54
      4100.41
      4083.36
      4078.2
      4069.78
      4064.79
      4065.88
      4070.09
      4072.82
      4073.35
      4070.25
      4064.82
      4062.31
      4042.21
      4043.05
      4042.59
      4045.18
      4046.01
      4048.13
      4032.15
      4035.14
      4028.68
      4028.22
      4014.15
      3997.14
      3996.25
      3976.92
      3959.31
      3938.8
      3934.92
      3934.92
      3946.84
      3949.95
      3958.19
      3964.72
      3973.8
      3972.13
      3963.12
      3956.34
      3965.47
      3964.16
      3969.75
      3970.48
      3972.74
      3971.33
      3971.63
      3969.38
      3967.06
      3968.39
      3943.28
      3910.35
      3884.37
      3861.89
      3837.93
      3827.63
      3826.91
      3837.33
      3850.34
      3860.21
      3865.31
      3871.77
      3866.62
      3871.02
      3875.25
      3884.01
      3887.22
      3893.04
      3893.8
      3896.7
      3917.09
      3913.8
      3913.32
      3912.68
      3912.47
      3896.81
      3850.81
      3796.7
      3778.85
      3771.98
      3774.64
      3779.2
      3787.05
      3791.83
      3794.09
      3791.58
      3795.13
      3799.01
      3801.91
      3808.11
      3808.81
      3814.53
      3815.73
      3818.71
      3819.36
      3828.46
      3820.53
      3819.93
      3814.39
      3808.93
      3766.04
      3739.6
      3724.01
      3718.07
      3712.81
      3714.72
      3721.59
      3733.84
      3739.77
      3740.59
      3734.56
      3737.28
      3743.07
      3745.23
      3751.77
      3749.9
      3751.12
      3747.66
      3749.18
      3748.73
      3723.23
      3711.43
      3717.34
      3704.45
      3691.91
      3677.36
      3662.34
      3653.8
      3648.59
      3646.73
      3652.46
      3662.08
      3676.04
      3684.36
      3684.74
      3678.21
      3672.87
      3671.25
      3667.14
      3666.07
      3660.68
      3657.48
      3655.93
      3655.47
      3655.5
      3586.18
      3578.34
      3582.86
      3572.31
      3567.65
      3550.99
      3537.87
      3525.19
      3518.27
      3514.63
      3520.79
      3525.1
      3534.78
      3538.86
      3539.29
      3543.13
      3550.55
      3556.94
      3559.06
      3560.38
      3555.81
      3556.85
      3555.01
      3557.07
      3556.94
      3476.58
      3473.6
      3467.31
      3457.76
      3442.56
      3431.12
      3420.39
      3411.43
      3407.71
      3404.13
      3401.26
      3396.55
      3393.36
      3401.61
      3406.07
      3412.62
      3422.58
      3432.15
      3440.88
      3445.51
      3446.08
      3449.24
      3451.23
      3453.74
      3454.4
      3386.34
      3401.96
      3377.92
      3367.15
      3351.35
      3343.8
      3330.12
      3321.91
      3312.27
      3306.28
      3300.42
      3296.61
      3292.69
      3293.58
      3289.36
      3294.53
      3300.53
      3308.72
      3317.27
      3322.27
      3328.25
      3333.22
      3337.59
      3341.61
      3342.04
      3270.33
      3282.79
      3257
      3254.74
      3237.46
      3236.79
      3224.97
      3223.1
      3214.92
      3209.14
      3204.8
      3201.41
      3198.47
      3196.71
      3195.02
      3193.94
      3194.86
      3199.83
      3210.11
      3216.96
      3222.33
      3226
      3228.96
      3231.36
      3231.97
      3145.06
      3139.47
      3141.64
      3132.87
      3117.15
      3108
      3107.7
      3103.41
      3104.14
      3103.49
      3103.4
      3102.11
      3100.75
      3100.69
      3100.05
      3100.91
      3102.12
      3104
      3108.52
      3112.94
      3117.37
      3120.48
      3123.25
      3125.06
      3125.64
      3039.03
      3034.71
      3044.89
      3028.17
      3014.83
      2998.54
      2991.82
      2988.31
      2990.89
      2990.76
      2992.82
      2992.71
      2992.91
      2993.55
      2993.93
      2996.52
      2998.77
      3001.81
      3003.8
      3006.3
      3008.47
      3010.71
      3013.02
      3013.98
      3014.73
      2908.73
      2907.67
      2915.01
      2902.96
      2883.11
      2870.53
      2861.82
      2861.77
      2858.11
      2866.01
      2868.24
      2871.95
      2874.15
      2877.48
      2879.23
      2881.94
      2885.54
      2888.54
      2889.22
      2891.04
      2892.59
      2894.76
      2896.72
      2897.24
      2898.08
      2743.7
      2742.01
      2738.5
      2725.55
      2717.81
      2712.86
      2711.05
      2715.87
      2724.18
      2734.62
      2743.94
      2749.05
      2753.75
      2756.91
      2760.57
      2764.19
      2768.42
      2770.96
      2772.39
      2774.26
      2775.19
      2776.7
      2779.08
      2778.79
      2779.65
      2565.53
      2560.37
      2552.02
      2536.37
      2538.07
      2543.7
      2562.95
      2577.19
      2589.69
      2603.57
      2622.53
      2629.62
      2635.93
      2638.27
      2641.85
      2646.21
      2650.1
      2652.23
      2654.12
      2654.38
      2656.38
      2656.95
      2658.31
      2658.33
      2659
      2389.07
      2379.85
      2367.53
      2354.3
      2366.15
      2384.52
      2405.82
      2433.43
      2462.89
      2488.05
      2504.2
      2511.52
      2516.4
      2518.23
      2521.69
      2525.69
      2529.22
      2531.56
      2533.69
      2534.55
      2536.77
      2538.52
      2538.07
      2539.44
      2539.43
      2273.44
      2271.89
      2265.88
      2258.46
      2270.69
      2284.82
      2303.38
      2320.92
      2344.94
      2368.77
      2388.71
      2394.95
      2400.64
      2402.63
      2405.76
      2407.81
      2409.72
      2410.94
      2410.53
      2414.6
      2417.09
      2418.33
      2418.34
      2420.27
      2419.98
      2185.65
      2185.04
      2177.85
      2185.4
      2179.64
      2198.58
      2203.6
      2217.85
      2237.88
      2261.45
      2281.47
      2286.63
      2291.77
      2295.98
      2295.29
      2295
      2293.4
      2291.66
      2293.09
      2294.87
      2299.02
      2301.11
      2301.98
      2303.28
      2302.96
      2091.49
      2091.8
      2084.97
      2086.93
      2079.18
      2084.09
      2087.53
      2100.32
      2126.33
      2149.78
      2166.81
      2172.17
      2178.09
      2182.93
      2181.73
      2179.44
      2176.5
      2174.1
      2177.42
      2178.54
      2180.89
      2182.27
      2186.01
      2185.47
      2186.4
      2019.46
      2019.6
      2015.77
      2015.14
      2013.82
      2011.58
      2012.35
      2017.51
      2024.81
      2034.17
      2042.04
      2045.58
      2054.16
      2056.02
      2060.91
      2061.06
      2061.84
      2065.31
      2067.03
      2067.91
      2068.01
      2069.22
      2074.55
      2072.99
      2075.21
      1941.72
      1942.55
      1944.6
      1944.6
      1943.14
      1940.45
      1935.96
      1930.74
      1921.85
      1910.23
      1906.16
      1907.96
      1916.47
      1922.35
      1930.54
      1936.69
      1942.73
      1948.6
      1953.45
      1955.74
      1957.09
      1958.79
      1964.58
      1962.03
      1967.35
      1859.93
      1862.27
      1867.44
      1868.49
      1871.4
      1864.79
      1856.13
      1837.86
      1816.62
      1792.52
      1776.69
      1780.67
      1786.01
      1795.7
      1805.76
      1816.65
      1826.23
      1832.42
      1841.3
      1846.17
      1853.55
      1857.44
      1862.73
      1864.65
      1867.63
      1742.2
      1743.56
      1744.86
      1750.46
      1751.86
      1752.18
      1744.94
      1730.61
      1713.95
      1693.05
      1674.63
      1672.45
      1671.49
      1678.13
      1685.56
      1695.24
      1704.8
      1715.69
      1731.89
      1744.37
      1749.79
      1759.79
      1761.02
      1770.11
      1765.85
      1624.33
      1621.69
      1621.28
      1623.55
      1629.86
      1634.84
      1629.82
      1625.27
      1615.57
      1605.67
      1593.17
      1587.41
      1583.62
      1584.26
      1588.12
      1596.64
      1605.76
      1628.49
      1642.54
      1656.53
      1655.76
      1659.92
      1648.25
      1661.23
      1652.41
      1502.84
      1498.24
      1494.11
      1489.61
      1491.48
      1495.03
      1499.24
      1513.36
      1522.63
      1525.6
      1522.69
      1517.07
      1510.85
      1506.74
      1505.54
      1505.4
      1510.6
      1521.74
      1541.45
      1558.61
      1552.85
      1551.76
      1535.75
      1530.96
      1532.7
      1438.35
      1431.98
      1423.78
      1418.2
      1414.02
      1410.95
      1421.88
      1440.09
      1454.87
      1458.63
      1455.01
      1445.78
      1434.66
      1425.7
      1419.12
      1415.68
      1415.72
      1417.64
      1423.6
      1431.4
      1433.84
      1435.92
      1428.46
      1424.99
      1425.27
      1387.36
      1391.52
      1382.5
      1371.77
      1362.64
      1361.03
      1365.55
      1375.58
      1381.01
      1381.31
      1373.07
      1361.69
      1345.78
      1330.35
      1319.62
      1310.89
      1308.23
      1306.43
      1305.91
      1307.7
      1313.27
      1327.02
      1336.01
      1327.81
      1331.15
      1271.79
      1273.08
      1271.98
      1264.17
      1251.26
      1244.99
      1245.76
      1252.42
      1257
      1256.72
      1250.08
      1237.94
      1222.68
      1208.14
      1196.98
      1192.02
      1186.21
      1184.68
      1188.51
      1191.85
      1205.01
      1215.73
      1233.25
      1224.72
      1226.75
      1127.1
      1125.64
      1124.39
      1121.85
      1113.42
      1103.67
      1098.39
      1099.57
      1105.61
      1109.52
      1106.77
      1098.48
      1089
      1080.43
      1073.92
      1073.24
      1072.25
      1071.29
      1071.75
      1074.4
      1078.62
      1085.51
      1095.53
      1095.67
      1096.26
      992.294
      991.13
      986.281
      990.794
      983.274
      976.232
      971.001
      968.971
      970.743
      974.382
      967.38
      958.104
      950.768
      948.08
      946.549
      948.871
      950.382
      951.44
      951.025
      953.739
      950.888
      963.575
      953.716
      963.393
      962.334
      890.836
      890.007
      886.517
      889.188
      888.797
      887.558
      882.258
      875.452
      866.168
      854.814
      842.425
      829.034
      823.448
      825.3
      826.065
      829.316
      832.018
      831.086
      828.139
      829.794
      822.199
      832.926
      830.89
      834.839
      836.224
      798.119
      798.959
      798.146
      794.879
      795.855
      790.952
      790.489
      782.988
      775.087
      756.826
      738.278
      726.414
      724.974
      724.246
      723.204
      723.369
      721.642
      719.099
      710.316
      697.385
      679.975
      674.28
      688.78
      688.589
      696.624
      694.405
      693.345
      698.272
      689.258
      690.501
      687.553
      687.301
      681.852
      671.592
      659.784
      649.31
      644.201
      642.081
      639.871
      634.96
      632.393
      627.156
      622.901
      613.168
      598.754
      587.397
      580.568
      587.953
      589.947
      592.531
      575.596
      574.55
      578.335
      571.262
      575.126
      570.818
      571.44
      565.333
      563.994
      557.653
      557.057
      557.073
      557.351
      557.971
      555.384
      555.633
      552.015
      548.591
      537.679
      522.905
      508.967
      504.995
      501.762
      502.865
      506.834
      448.634
      446.606
      441.379
      444.536
      445.296
      443.761
      444.059
      445.756
      447.579
      450.807
      450.866
      455.388
      461.553
      467.52
      474.518
      479.626
      477.622
      471.502
      455.883
      440.965
      425.702
      419.971
      419.591
      421.465
      426.135
      327.686
      323.738
      318.303
      321.504
      324.04
      322.727
      325.782
      330.743
      336.641
      341.885
      344.784
      352.115
      359.02
      367.046
      375.031
      383.301
      386.722
      384.298
      377.603
      369.778
      365.622
      363.641
      369.767
      373.676
      379.99
      241.456
      237.463
      233.772
      236.247
      235.733
      232.785
      232.205
      235.193
      239.329
      242.543
      242.908
      243.094
      245.917
      250.612
      255.394
      256.106
      257.516
      253.698
      252.154
      259.734
      270.969
      277.671
      284.418
      288.332
      290.567
      170.45
      169.594
      168.777
      170.885
      170.431
      166.804
      162.034
      160.137
      158.841
      159.069
      159.23
      158.955
      159.443
      159.867
      163.016
      164.058
      164.345
      161.325
      163.141
      170.599
      175.042
      179.359
      182.47
      184.371
      184.848
      69.1085
      73.6312
      78.3502
      83.8631
      83.2866
      79.7069
      70.8607
      65.196
      58.0552
      52.5698
      47.5432
      44.4013
      40.9971
      39.2168
      44.3652
      48.4222
      52.8974
      55.6685
      63.8615
      70.3526
      77.103
      79.0083
      80.6254
      78.5936
      78.1597
      5.21762
      5.54303
      6.21406
      6.5862
      6.97536
      6.04707
      5.1582
      4.67529
      3.96973
      3.91805
      3.85068
      3.97955
      4.24419
      4.60187
      4.58482
      4.73677
      4.97607
      5.56779
      5.98771
      6.44586
      7.31777
      7.4187
      7.38624
      6.79915
      6.2811
      2.60843
      2.60082
      2.59544
      2.574
      2.56327
      2.53915
      2.52407
      2.51319
      2.50267
      2.50354
      2.50313
      2.51034
      2.51996
      2.53785
      2.55085
      2.5752
      2.5913
      2.61602
      2.6272
      2.64475
      2.66551
      2.6892
      2.70386
      2.72564
      2.73192
      2.17545
      2.17432
      2.17254
      2.17118
      2.16971
      2.16884
      2.16875
      2.16917
      2.17074
      2.17198
      2.17338
      2.17488
      2.17495
      2.17499
      2.17384
      2.17487
      2.17478
      2.17659
      2.17631
      2.17759
      2.17752
      2.17913
      2.17829
      2.1787
      2.17787
      2.04089
      2.04068
      2.04118
      2.04152
      2.04136
      2.04222
      2.04304
      2.04335
      2.04473
      2.0445
      2.04444
      2.04311
      2.04132
      2.03846
      2.03706
      2.03531
      2.03452
      2.03333
      2.03303
      2.03251
      2.03159
      2.03142
      2.03102
      2.03115
      2.0311
      1.8995
      1.89922
      1.89946
      1.89964
      1.89961
      1.89979
      1.89968
      1.89943
      1.89907
      1.89835
      1.8975
      1.89651
      1.89491
      1.89377
      1.8926
      1.89154
      1.8906
      1.88973
      1.88905
      1.88848
      1.88785
      1.88711
      1.88686
      1.88627
      1.88633
      1.77653
      1.77666
      1.77687
      1.77695
      1.77713
      1.77716
      1.77724
      1.7771
      1.77697
      1.77662
      1.77613
      1.7756
      1.77522
      1.77457
      1.77389
      1.77326
      1.77257
      1.77208
      1.7714
      1.77091
      1.77041
      1.77005
      1.76976
      1.76958
      1.76941
      1.63781
      1.6378
      1.6377
      1.63767
      1.63752
      1.63738
      1.63715
      1.63682
      1.63643
      1.6359
      1.63542
      1.63483
      1.63445
      1.6338
      1.63323
      1.63265
      1.63219
      1.63165
      1.63134
      1.63099
      1.63071
      1.63038
      1.63013
      1.62993
      1.62988
      1.51282
      1.51284
      1.51282
      1.51284
      1.5128
      1.51277
      1.51267
      1.51255
      1.51241
      1.51221
      1.51213
      1.5117
      1.51131
      1.51112
      1.5109
      1.5106
      1.51038
      1.51
      1.50972
      1.50943
      1.50929
      1.50912
      1.50903
      1.50887
      1.5088
      1.37554
      1.37557
      1.37551
      1.37547
      1.37539
      1.37526
      1.37511
      1.37491
      1.37471
      1.37446
      1.37428
      1.37409
      1.37381
      1.3733
      1.37291
      1.37262
      1.37229
      1.37216
      1.37199
      1.37189
      1.37176
      1.37161
      1.37142
      1.37128
      1.37126
      1.24919
      1.24912
      1.24913
      1.24911
      1.24907
      1.24905
      1.24895
      1.2489
      1.24877
      1.24873
      1.24852
      1.24843
      1.24825
      1.24816
      1.24797
      1.24776
      1.24766
      1.24758
      1.24758
      1.24756
      1.24764
      1.2476
      1.24764
      1.2475
      1.24748
      1.11318
      1.1132
      1.1132
      1.11315
      1.1131
      1.113
      1.11293
      1.1128
      1.11269
      1.11263
      1.11246
      1.11222
      1.11212
      1.1119
      1.1119
      1.11173
      1.11166
      1.11156
      1.11144
      1.11144
      1.11139
      1.1114
      1.11126
      1.11117
      1.11112
      0.986047
      0.98605
      0.986021
      0.985994
      0.985958
      0.985953
      0.985902
      0.985882
      0.985862
      0.985753
      0.985696
      0.985757
      0.985718
      0.985741
      0.985653
      0.985684
      0.985621
      0.985668
      0.985679
      0.985742
      0.985764
      0.985816
      0.985801
      0.985722
      0.985683
      0.850852
      0.850828
      0.850842
      0.850796
      0.850764
      0.850715
      0.850595
      0.850523
      0.850386
      0.850218
      0.850163
      0.850059
      0.850021
      0.849933
      0.849904
      0.849827
      0.849897
      0.849844
      0.849967
      0.849956
      0.850129
      0.850129
      0.850119
      0.850004
      0.849993
      0.72322
      0.723219
      0.723168
      0.723188
      0.723205
      0.72319
      0.723291
      0.723312
      0.723289
      0.723364
      0.723374
      0.723393
      0.723413
      0.723427
      0.723469
      0.723464
      0.723433
      0.723435
      0.72342
      0.723495
      0.723593
      0.723675
      0.72367
      0.723614
      0.723624
      0.588544
      0.588553
      0.588524
      0.58856
      0.588456
      0.588381
      0.588228
      0.588079
      0.588023
      0.587939
      0.587933
      0.587901
      0.587847
      0.58787
      0.587778
      0.587892
      0.58775
      0.58788
      0.587929
      0.587983
      0.588115
      0.588224
      0.588247
      0.588184
      0.588176
      0.460733
      0.460707
      0.460783
      0.460706
      0.460777
      0.460789
      0.460852
      0.4609
      0.460948
      0.461034
      0.461033
      0.460993
      0.46101
      0.460953
      0.46097
      0.460876
      0.46099
      0.460862
      0.46089
      0.460867
      0.461056
      0.461141
      0.461208
      0.4611
      0.461116
      0.3263
      0.32631
      0.326259
      0.326284
      0.326204
      0.326162
      0.326065
      0.32599
      0.325944
      0.325867
      0.3258
      0.325803
      0.325782
      0.325739
      0.325783
      0.325732
      0.325814
      0.325752
      0.325748
      0.325634
      0.325831
      0.325858
      0.325945
      0.325862
      0.325925
      0.198387
      0.198387
      0.19838
      0.198379
      0.19838
      0.198385
      0.198408
      0.198401
      0.198452
      0.198453
      0.198529
      0.198519
      0.198553
      0.198528
      0.198507
      0.198412
      0.198322
      0.198197
      0.198173
      0.198015
      0.198055
      0.198112
      0.198217
      0.198335
      0.198368
      0.0639617
      0.0639706
      0.0639747
      0.0639733
      0.0639593
      0.0639489
      0.0639239
      0.0639184
      0.0638669
      0.0638353
      0.0637998
      0.0637847
      0.0637588
      0.0637369
      0.0637026
      0.063645
      0.0636016
      0.0635269
      0.06342
      0.0632935
      0.0631483
      0.0632062
      0.063256
      0.0633831
      0.0634023
      )
      ;
      
      boundaryField
      {
          inlet
          {
              type            zeroGradient;
          }
      
          outlet
          {
              type            fixedValue;
              value           uniform 0;
          }
      
          walls
          {
              type            zeroGradient;
          }
      
          defaultFaces
          {
              type            empty;
          }
      }
      
      
      // ************************************************************************* //
      

      卑以自牧,温润如玉。

      1 条回复 最后回复 回复 引用
      • 李东岳
        李东岳 管理员 最后由 编辑

        一般这种都是基金会提供的,不是通过一些算法产生的。有可能是预先计算后得到的。你可以直接归0试一下。

        CFD高性能服务器 http://dyfluid.com/servers.html

        洱聿 1 条回复 最后回复 回复 引用
        • 洱聿
          洱聿 @李东岳 最后由 编辑

          @李东岳 应该是按照算好的数据来的,归0之后会报错。东岳老师,如果把internalField修改成均一场,之后调整一下可行嘛?

          卑以自牧,温润如玉。

          1 条回复 最后回复 回复 引用
          • 李东岳
            李东岳 管理员 最后由 编辑

            我的意思就是全部弄成均一场0,为啥会报错呢

            CFD高性能服务器 http://dyfluid.com/servers.html

            洱聿 1 条回复 最后回复 回复 引用
            • 洱聿
              洱聿 @李东岳 最后由 洱聿 编辑

              @李东岳 我把bubbleColumn/0/p文件中

              internalField   nonuniform List<scalar>
              

              改成了

              internalField   uniform 0
              

              这个是报错原因:

              --> Error from: primitiveEntry::readEntry(const dictionary&, Istream&)
              --> Fatal error reading input from: /home/thia/foam/thia-4.0/run/bubbleColumn/0/p
              
              
              --> FOAM FATAL IO ERROR: 
              ill defined primitiveEntry starting at keyword 'internalField' on line 19 and ending at line 48
              
              file: /home/thia/foam/thia-4.0/run/bubbleColumn/0/p at line 48.
              
                  From function primitiveEntry::readEntry(const dictionary&, Istream&)
                  in file db/dictionary/primitiveEntry/primitiveEntryIO.C at line 229.
              
              FOAM exiting
              
              

              我尝试找了报错原因后的文件primitiveEntry/primitiveEntryIO.C,但是源代码没看懂:

              void Foam::primitiveEntry::readEntry(const dictionary& dict, Istream& is)
              {
                  label keywordLineNumber = is.lineNumber();
                  tokenIndex() = 0;
              
                  if (read(dict, is))
                  {
                      setSize(tokenIndex());
                      tokenIndex() = 0;
                  }
                  else
                  {
                      // When reading an invalid global controlDict file, the following call
                      // to FatalIOErrorIn will crash with a "Segmentation Fault", and will
                      // fail to generate any useful error message to the console.
                      // This additional error message will at least leave a minimal trace.
                      //
                      // The cause of the Seg. fault is still unknown, but seems to be related
                      // to the initialization of the string member attributes of the global
                      // object FatalIOError. (MB 05/2011)
                      //
                      std::cerr << "--> Error from: "
                          << "primitiveEntry::readEntry(const dictionary&, Istream&)"
                          << std::endl;
                      std::cerr << "--> Fatal error reading input from: "
                          << is.name() << std::endl;
              
                      FatalIOErrorIn
                      (
                          "primitiveEntry::readEntry(const dictionary&, Istream&)",
                          is
                      )   << "ill defined primitiveEntry starting at keyword '"
                          << keyword() << '\''
                          << " on line " << keywordLineNumber
                          << " and ending at line " << is.lineNumber()
                          << exit(FatalIOError);
                  }
              }
              

              卑以自牧,温润如玉。

              疏影横斜水清浅 1 条回复 最后回复 回复 引用
              • 疏影横斜水清浅
                疏影横斜水清浅 @洱聿 最后由 编辑

                @洱聿 你计算的0/p文件中的internalField uniform 0后面有没有“;”,是不是标点的原因。

                洱聿 1 条回复 最后回复 回复 引用
                • 洱聿
                  洱聿 @疏影横斜水清浅 最后由 编辑

                  @疏影横斜水清浅 万分感谢,是我在0.org/p文件中没加“;”,导致结果报错。

                  卑以自牧,温润如玉。

                  1 条回复 最后回复 回复 引用
                  • First post
                    Last post