|
[Sponsors] |
July 21, 2024, 10:24 |
boundary condition for B in a 2D simulation
|
#1 |
New Member
Christoph Trier
Join Date: Mar 2024
Posts: 12
Rep Power: 2 |
Hey guys,
I am trying to Simulate a 2D Simulation of a Flow through a magnetic. My Simulation geometry is in the x-z plane, and the magnetic field should face the y direction. How can I set it up? The boundary condition I have so far is not working. Can someone help me with this problem? I can't find anything online. My boundary condition: (they are not working the simulation is like with out B field) B Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2212 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; object B; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 0 -2 0 0 -1 0]; internalField uniform (0 0.28 0); //0.28 boundaryField { inlet { type fixedValue; value $internalField; } outlet { type fixedValue; value $internalField; } Wall_side_front { type empty; } Wall_side_back { type empty; } Wall_out { type fixedValue; value $internalField; } Wall_inside { type fixedValue; value $internalField; } } // ************************************************************************* // |
|
Tags |
2d simulation, magnetic field, mhd problem |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 Supersonic Cascade Simulation: Inlet Boundary Condition Issues | nirvananas314 | SU2 | 4 | March 15, 2024 10:13 |
Clarification Needed on Symmetry Boundary Condition in CFD Simulation | Varada | REEF3D | 3 | November 9, 2023 05:09 |
Wind tunnel flow simulation boundary condition issue | charan3007 | SU2 | 0 | October 21, 2021 09:27 |
Table bounds warnings at: END OF TIME STEP | CFXer | CFX | 4 | July 17, 2020 00:44 |
Problem in setting Boundary Condition | Madhatter92 | CFX | 12 | January 12, 2016 05:39 |