Skip to content
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

Nek5000 to nekRS variable conversion #41

Open
JezSw opened this issue Oct 14, 2024 · 3 comments
Open

Nek5000 to nekRS variable conversion #41

JezSw opened this issue Oct 14, 2024 · 3 comments
Assignees

Comments

@JezSw
Copy link
Owner

JezSw commented Oct 14, 2024

Some table of strict variable name/location changes would benefit intermediate and above 5000 users quickly convert some examples to RS.

@kzscisoft
Copy link
Collaborator

kzscisoft commented Oct 18, 2024

In the form <parent-function>:<variable>:

Nek5000 NekRS
NEKUSE:ux codedFixedValueVelocity:bc->u
NEKUSE:uy codedFixedValueVelocity:bc->v
NEKUSE:uz codedFixedValueVelocity:bc->w
GEOM:ym1(i,1,1,1) UDF_Setup:nrs->meshV->y[i]
ntot=SIZE:nelt*lx1*ly1*lz1 UDF_Setup:nrs->meshV->Nlocal
NEKNEK:valint(..., 1) codedFixedValueVelocity:bc->uinterp
NEKNEK:valint(..., 2) codedFixedValueVelocity:bc->vinterp
NEKNEK:valint(..., 3) codedFixedValueVelocity:bc->winterp
ffx = <val> platform->linAlg->fill(nrs->meshV->Nlocal, <val>, nrs->o_NLT + 0 * nrs->fieldOffset)

@kzscisoft
Copy link
Collaborator

kzscisoft commented Oct 31, 2024

Difference in execution of multiple meshes combined, for Nek5000:

neknekb <components ...> <ranks...>

For Nekrs:

nekbmpi <session-file> <n-ranks>

@JezSw JezSw moved this to In progress in NekRS documentation First Pass Nov 13, 2024
@JezSw
Copy link
Owner Author

JezSw commented Nov 13, 2024

@kzscisoft does this need looking at?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

No branches or pull requests

2 participants