yellowshippo / penn-neurips2022

PENN code for NeurIPS 2022
https://openreview.net/forum?id=B3TOg-YCtzo
Apache License 2.0
34 stars 2 forks source link

Can the RANS be solved with this? What changes should be made to the network #2

Closed LiChengChen666 closed 1 year ago

LiChengChen666 commented 1 year ago

Different differential equations are going to have different structures, but is it okay to use the same structure.

yellowshippo commented 1 year ago

@LiChengChen666

Yes, you can use the same structure for both DNS and RANS. Or, you can also refine the architecture to be more suitable for RANS. To do so, 1) you can define the governing equation you would like to solve (e.g., equations for RANS), 2) write the encoded version using NIsoGCN as done in the paper (e.g., Equations 58-61), and 3) implement it. Step 2 seems complicated at first glance, but actually, it is straightforward because all you need is to replace spacial gradient operators with corresponding NIsoGCN layers.

Screenshot 2023-04-21 at 22 46 48

Our method can deal with any partial differential equation, as we demonstrated the Navier–Stokes equations and advection-diffusion equation (see Appendix C and D in the paper).

Hope this helps!

LiChengChen666 commented 1 year ago

Thank you very much. I have a new question. If I have a mesh consists of ca. 30 million vertices and I want to preserve geometric features, what should I do?

yellowshippo commented 1 year ago

First, you can just preprocess your mesh and try to learn it. If you encounter an out-of-memory error, consider these options:

I'm also keen on learning large-scale meshes, so if you manage to learn your mesh successfully, please let me know. We can then discuss potential future directions together. Good luck!