-
Notifications
You must be signed in to change notification settings - Fork 471
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
Impose a free surface condition #2283
Comments
Hi @L29430, If the surface is aligned with the mesh, you can probably impose Dirichlet BC to the linear system. If the surface is not aligned, you should consider approximate/weak enforcement as in this paper. Related MFEM code can be found in #2043, however, the correct weak form depends on the equations you're solving. Other approaches to do this are CutFEM and XFEM, but MFEM does not have these capabilities. Best, |
Just to add to @vladotomov's answer: when the interface is aligned with the mesh, you can impose a Dirichlet b.c. on the interface the same way as on an external boundary. You need to make sure that the interface in described in the input mesh file as a set of "boundary" elements with some corresponding "boundary" attribute that identifies the interface. With that, setting up Dirichlet b.c. on the interface can be done as in example 1/1p except that you only mark the interface attribute with 1 in the array |
Hello Vladimir, I'm solving a Laplace equation, so I would be very interested to understand the Shifted Diffusion Miniapp :) Best, |
I'm not sure if Github supports downloading individual files. Best, |
Hello Vladimir, I copied the shifted repository in miniapps, in the library. But it didn't run... I don't know why. |
Hello, I copied the shifted repository in miniapps, in mfem-4.2. When I'm in this new repository, the "make" command doesn't work, I cannot get the .exe files. Is there a particular step to know to run this miniapp ? Best, |
Hi @L29430, Are you working on a Linux or a Windows machine? What is the error you're getting? Best, |
Hello, I'm working on a linux machine, my error is : make: nothing to do with "all". I have already looked at the INSTALL file, it doesn't say anything about the installation of this miniapp. |
Hello Vladimir, Can you tell me where I can find the document needed to install the shifted miniapp ? Best. |
Hi @L29430, First you should build the MFEM library in parallel and run some of the parallel examples to make sure everything works as expected. Then you can build the shifted diffusion miniapp in Vladimir |
|
Hello everybody,
I'm working on a fluid dynamics case, with two-phase flow. Fluids are separated by a free surface. With an interface capturing method, I can find the position of the free surface at any time t. I would like to know if it's possible to impose a Dirichlet condition on this free surface, which is not a boundary of the domain?
Regards,
The text was updated successfully, but these errors were encountered: