Skip to content

Pressure Dacy flow Init #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 51 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
d7a2512
Pressure Dacy flow Init
bojunZhang-heng Jul 14, 2025
740d145
./Model_Script/Transolver_Darcy.sh update
bojunZhang-heng Jul 14, 2025
78df777
My_python_job/exp_darcy.py update
bojunZhang-heng Jul 14, 2025
06068c8
My_python_job/exp_darcy.py update
bojunZhang-heng Jul 14, 2025
e22ccb3
My_python_job/Model_Script/ Init
bojunZhang-heng Jul 14, 2025
8bcea5f
My_python_job/Pressure_train.lsf update
bojunZhang-heng Jul 14, 2025
f2023ec
My_python_job/model Init
bojunZhang-heng Jul 14, 2025
b6fda09
My_python_job/model_dict.py Init
bojunZhang-heng Jul 14, 2025
520290d
My_python_job/utils update
bojunZhang-heng Jul 14, 2025
fa5855d
My_python_job/utils_Dri.py update
bojunZhang-heng Jul 14, 2025
feee2f3
Usage_Python/ Init
bojunZhang-heng Jul 15, 2025
909ebb9
My_python_job/Model_Script/ update
bojunZhang-heng Jul 15, 2025
4996a40
My_python_job/exp_darcy.py update
bojunZhang-heng Jul 15, 2025
25f3111
My_python_job/exp_darcy.py update
bojunZhang-heng Jul 17, 2025
809d9fc
My_python_job/Usage_Python/Usage_Transolver_Structured_Mesh_2D.py update
bojunZhang-heng Jul 17, 2025
2380699
Usage_Python/Usage_Transolver_Structured_Mesh_2D.py update
bojunZhang-heng Jul 17, 2025
a9e9d48
model/Transolver_Structured_Mesh_2D.py update
bojunZhang-heng Jul 17, 2025
a946c18
PDE-Solving-StandardBenchmark/My_python_job/tmp_foo.py update
bojunZhang-heng Jul 17, 2025
6322a63
My_python_job/Pressure_train.lsf update
bojunZhang-heng Jul 21, 2025
4dcc888
My_python_job/exp_darcy.py update
bojunZhang-heng Jul 21, 2025
05ae7d1
My_python_job/model/Transolver_Structured_Mesh_2D.py update
bojunZhang-heng Jul 21, 2025
5988c5b
Model_Script/Transolver_Darcy.sh
bojunZhang-heng Jul 21, 2025
fab83fe
Usage_Python/Usage_Transolver_Structured_Mesh_2D.py update
bojunZhang-heng Jul 21, 2025
740d745
exp_darcy.py update
bojunZhang-heng Jul 21, 2025
8e76352
model/Transolver_Structured_Mesh_2D.py upadte
bojunZhang-heng Jul 21, 2025
95e0225
My_python_job/exp_darcy.py update
bojunZhang-heng Jul 21, 2025
61395a7
My_python_job/model/Transolver_Structured_Mesh_2D.py update
bojunZhang-heng Jul 21, 2025
077d07c
My_python_job/Pressure_train.lsf update
bojunZhang-heng Jul 21, 2025
10d8c86
My_python_job/Usage_Python/Usage_Transolver_Structured_Mesh_2D.py .ge…
bojunZhang-heng Jul 21, 2025
d762637
My_python_job/exp_darcy.py .get_grd() update
bojunZhang-heng Jul 21, 2025
86b1f2f
My_python_job/model/Transolver_Structured_Mesh_2D.py .get_grid() update
bojunZhang-heng Jul 21, 2025
2b0dbef
My_python_job/Usage_Python/Usage_Transolver_Structured_Mesh_2D.py MLP…
bojunZhang-heng Jul 21, 2025
277e8c1
My_python_job/exp_darcy.py MLP class Update
bojunZhang-heng Jul 21, 2025
af5d516
My_python_job/model/Transolver_Structured_Mesh_2D.py MLP class Update
bojunZhang-heng Jul 21, 2025
4760c68
Usage_Python/Usage_Physics_Attention.py Init
bojunZhang-heng Jul 21, 2025
7ceab96
model/Transolver_Structured_Mesh_2D.py update
bojunZhang-heng Jul 21, 2025
37355c8
My_python_job/Model_Script/Transolver_Darcy.sh update
bojunZhang-heng Jul 23, 2025
462da16
My_python_job/Pressure_train.lsf update
bojunZhang-heng Jul 23, 2025
9cf3d7f
My_python_job/Usage_Python/Usage_Physics_Attention.py update
bojunZhang-heng Jul 23, 2025
06e60b1
My_python_job/exp_darcy.py update
bojunZhang-heng Jul 23, 2025
3696a6b
My_python_job/Usage_Python/Usage_Physics_Attention.py Update kernel_s…
bojunZhang-heng Jul 23, 2025
b8f3be4
My_python_job/Usage_Python/Usage_Transolver_Structured_Mesh_2D.py update
bojunZhang-heng Jul 23, 2025
b8f9e7e
My_python_job/Usage_Python/Usage_Physics_Attention.py Update
bojunZhang-heng Jul 25, 2025
94a50a3
My_python_job/exp_darcy.py Update
bojunZhang-heng Jul 25, 2025
d478a5f
My_python_job/model/Physics_Attention.py update
bojunZhang-heng Jul 25, 2025
3830bfa
My_python_job/model/Transolver_Structured_Mesh_2D.py update
bojunZhang-heng Jul 25, 2025
844abcc
My_python_job/Usage_Python/Usage_Physics_Attention.py update
bojunZhang-heng Jul 25, 2025
6fb7971
My_python_job/Pressure_train.lsf update
bojunZhang-heng Jul 25, 2025
f519c08
My_python_job/Usage_Python/Usage_Physics_Attention.py Update
bojunZhang-heng Jul 25, 2025
a12bded
My_python_job/model/Physics_Attention.py update
bojunZhang-heng Jul 25, 2025
dc73a09
Usage_Python/Usage_Physics_Attention.py update
bojunZhang-heng Jul 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
My_python_job/Usage_Python/Usage_Transolver_Structured_Mesh_2D.py MLP…
… class Update
  • Loading branch information
bojunZhang-heng committed Jul 21, 2025
commit 2b0dbefcf3cf82c5370b19efc23f806a53b3a835
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,26 @@ def get_grid(self, batchsize=1):
#!-----------------------------------------------------------------------
class MLP(nn.Module):

#!-----------------------------------------------------------------------
#!--------------------------------------------
def __init__(self, n_input, n_hidden, n_output, n_layers=1, act='gelu', res=True):
-> Example with n_layers
-> Keyword argu: MLP(n_layers=0)
-> Positional argu: MLP(0)
-> If we use Keyword argu, the passing order can be mixed
-> Positional argu is permitted

#!---------------------
-> self.linear_pre = nn.Sequential(nn.Linear(n_input, n_hidden), act())
-> Sequential is a intermediate process between Input and Output
-> pipeline for neutral network
-> Input -> Layer1 -> Activation -> Layer2 -> ... -> Output

#!---------------------
-> self.linears = nn.ModuleList([nn.Sequential(nn.Linear(n_hidden, n_hidden), act()) for _ in range(n_layers)])
-> Build a list of "n_layers"
-> Store the multi-stacked Sequential blocks



""" Variable meaning """
# fun_dim: number of physical features per mesh points(e.g. velocity, pressure)
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy