Coder Social home page Coder Social logo

ceed / remhos Goto Github PK

View Code? Open in Web Editor NEW
17.0 11.0 8.0 3.78 MB

High-order Remap Miniapp

Home Page: http://ceed.exascaleproject.org/miniapps

License: BSD 2-Clause "Simplified" License

Makefile 2.03% C++ 96.24% Shell 1.73%
miniapps high-order finite-elements remap dg advection hpc ceed proxy-application

remhos's Issues

Remap suitable for RZ (Cylindrical co-ordinates)

Dear contributors,

I have been using the modified version of Laghos by implementing RZ (Cylindrical) geometry as well as multi-material formulations. Presently looking forward to implement a remap scheme using REMHOS miniapp. As far as I can understand, the RZ capability is not implemented with the present REMHOS version. I would like to know is there any future version planned to include this capability ? What are the changes that might required to make it compatible with RZ geometry (like changes in Convection Integrator, Mass Integrator, Trace Integrators, ....) ? Is there any documentation available ?

Thank you in advance
-- Sijoy

Uncorrected mapping with NCmesh

Hi all,

I'm incorporating Remhos into my code to remap the L2 fields after remeshing.
I believe the remapping is functioning correctly with the conforming mesh, but I'm encountering some issues with a non-conforming mesh.

In the case of a conforming mesh, the mesh simply moves, and the field does not move because they are advected together. However, with a non-conforming mesh, the shape of the field is altered, leading to incorrect mapping (see attached image).

text2-1

This is obvious when I use the example of Remhos.
I typed mpirun -np 8 remhos -m ./data/cube01_hex.mesh -p 10 -rs 1 -o 2 -dt 0.02 -tf 0.8 -ho 1 -lo 4 -fct 2 but I modified element attributes of 1st and 2nd element to two and Remhos like this way. You can see non-conforming mesh and final remapped field is highly distorted. I think advection is prohibited between coarse- and fine-mesh regions.

mesh->EnsureNCMesh(true);
Array<int> refs;

for (int i = 0; i < mesh->GetNE(); i++)
{
if(mesh->GetAttribute(i) >= 2)
{
refs.Append(i);
}
}

mesh->GeneralRefinement(refs, 1);
refs.DeleteAll();
mesh->Finalize(true);

image1-1

Any comments would be greatly appreciated.

Sungho

cannot find -lmfem-common

I tried building with mfem develop, and ran into the following error
cannot find -lmfem-common. I think we may need to update our makefile.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.