Skip to content

Commit c9d9f40

Browse files
authored
Merge pull request #2124 from bz529/cgraph
feat(Cgraph):气泡上升结果调试
2 parents 140fbce + f7d24cd commit c9d9f40

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

example/cgraph/rasing_bubble_2d_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
uh = (model().u,
5959
model().p,
6060
model().phi),
61-
path = "/home/libz/rasing_bubble_2d",
61+
path = "/home/li-benzhen/rasing_bubble_2d",
6262
i = 0)
6363
model1(i = 1,
6464
dt = 0.001,
@@ -73,7 +73,7 @@
7373
uh = (model1().u,
7474
model1().p,
7575
model1().phi),
76-
path = "/home/libz/rasing_bubble_2d",
76+
path = "/home/li-benzhen/rasing_bubble_2d",
7777
i = 1)
7878

7979

fealpy/cgraph/cfd/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
from .stationary_ns_simulation import StationaryNSNewton, StationaryNSOssen, StationaryNSStokes
33
from .ns_run import *
4-
from .chns_fem_run import *
4+
from .chns_run import *
55
from .cahn_hilliard_fem_simulation import CahnHilliardFEMSimulation
66
from .timeline import CFDTimeline
77
from .gnbc_main import GNBCSimulation

fealpy/cgraph/cfd/fem.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,6 @@ def method(phispace, init_phase, q):
440440
init_mass = mesh.integral(init_phase)
441441
gamma = mesh.gamma
442442
epsilon = mesh.epsilon
443-
d = 0.005
444-
epsilon /= d
445-
446443

447444
def update_ac(u_n, phi_n, dt,phase_force, mv: None):
448445
# 移动网格行为产生的速度场 mv 可选

0 commit comments

Comments
 (0)