CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

solve Laplace eqn around an arc shaped geometry

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 17, 2020, 16:25
Default solve Laplace eqn around an arc shaped geometry
  #1
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
Hello everybody

I want to solve the Laplace equation in a vacuum

solve
(
fvm::laplacian(V)
);

subject to a 2D electrode charged to a constant voltage 1000V and with a spherical arc shape (but not a sphere as I don't want it to enclose a 3D domain) .
So let it lie inside a very large bounded box where we approximate the electric field to be 0 on all sides of this box.

Therefore, file casename/0/V
contains the following snippet:

boundaryField
{
farfield
{
type fixedGradient;
gradient uniform 0;
}

}

The question is how to code the 1000V voltage condition on this arc since it is not on a patch (it is not on the boundary of a 3D domain)

For those who prefer a fluid dynamics setting, you could have the analogous problem (in 2D though not 3D !!) with an incompressible irrotational fluid. Voltage V would be replaced by a streamline phi, phi would be constant on the circular arc and gradient uniform 0 becomes gradient uniform Velocity;


Have a nice weekend
celestial is offline   Reply With Quote

Old   January 20, 2020, 11:06
Default
  #2
Member
 
Join Date: Mar 2019
Posts: 86
Rep Power: 7
celestial is on a distinguished road
I believe the answer is that the OPEN arc is a limiting case of a very thin CLOSED surface and is treated in many analytic fluid dynamics books. Afterall, in real life, we deal with a 3D body surrounded by air. In openFoam, this closed surface does indeed become a boundary of the outer air domain.

So unless somebody has anything to add, this thread is closed.

Thanks for watching
celestial is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Change the mesh in mixerVesselAMI2D tutorial hoemmaria OpenFOAM Meshing & Mesh Conversion 2 October 6, 2017 07:43
k-omega SST flow over a cylinder GP_FDU OpenFOAM Running, Solving & CFD 29 January 15, 2016 15:06
[blockMesh] multiregion mesh with blockMesh alvora OpenFOAM Meshing & Mesh Conversion 44 July 21, 2013 14:14
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
How to solve another continuum and momentum eqn? west_wing FLUENT 0 August 25, 2003 10:00


All times are GMT -4. The time now is 10:10.