Skip to content
The Chat Archive
mistral-medium-2505· Mistral AI LMArena Human Preference 140K

can you give me weak form for poison problem with SBM?

  1. User

    can you give me weak form for poison problem with SBM?

  2. Assistant

    Certainly! Below is the weak form of the Poisson problem using the Shifted Boundary Method (SBM).

    Poisson Problem Statement

    The Poisson equation in a domain (\Omega) with boundary (\Gamma) is given by: [ -\nabla^2 u = f \quad \text{in} \quad \Omega, ] with boundary conditions: [ u = g \quad \text{on} \quad \Gamma_D \quad (\text{Dirichlet}), ] [ \nabla u \cdot \mathbf{n} = h \quad \text{on} \quad \Gamma_N \quad (\text{Neumann}). ]

    Weak Formulation (Standard)

    The standard weak form is obtained by multiplying with a test function (v) and integrating by parts: [ \int_{\Omega} \nabla u \cdot \nabla v , d\Omega - \int_{\Gamma_N} h v , d\Gamma = \int_{\Omega} f v , d\Omega. ]

    Shifted Boundary Method (SBM) Modification

    In SBM, the boundary (\Gamma) is not aligned with the computational mesh. Instead, the boundary conditions are shifted to a nearby structured grid line. The key steps are:

    1. Define a shifted boundary (\tilde{\Gamma}) (e.g., a Cartesian grid line near (\Gamma)).
    2. Modify the weak form to account for the shifted boundary conditions.

    Weak Form with SBM

    The modified weak form for the Poisson problem with SBM is: [ \int_{\Omega} \nabla u \cdot \nabla v , d\Omega - \int_{\tilde{\Gamma}N} \tilde{h} v , d\tilde{\Gamma} = \int{\Omega} f v , d\Omega, ] where:

    • (\tilde{\Gamma}_N) is the shifted Neumann boundary.
    • (\tilde{h}) is the modified Neumann data (adjusted to account for the shift).

    Handling Dirichlet Conditions in SBM

    For Dirichlet conditions, SBM typically enforces them weakly (e.g., via Nitsche’s method or penalty terms). The weak form becomes: [ \int_{\Omega} \nabla u \cdot \nabla v , d\Omega + \int_{\tilde{\Gamma}D} \frac{\gamma}{h} u v , d\tilde{\Gamma} = \int{\Omega} f v , d\Omega + \int_{\tilde{\Gamma}_D} \frac{\gamma}{h} g v , d\tilde{\Gamma}, ] where:

    • (\tilde{\Gamma}_D) is the shifted Dirichlet boundary.
    • (\gamma) is a penalty parameter (scaling factor).
    • (h) is the mesh size near the boundary.

    Key Features of SBM in the Weak Form

    • No need for body-fitted meshes (works on Cartesian grids).
    • Boundary conditions are imposed on shifted locations (not the exact boundary).
    • High-order accuracy can be maintained with proper interpolation.
    • Efficient for complex geometries (avoids costly mesh generation).

    Conclusion

    The SBM weak form for the Poisson problem modifies the standard weak form by shifting boundary conditions to a nearby structured grid. This allows for efficient computation on Cartesian meshes while maintaining accuracy. The method is particularly useful for problems with complex or moving boundaries.

    Would you like a more detailed derivation or implementation aspects?

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.