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

Case Files #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Case Files #46

wants to merge 3 commits into from

Conversation

JezSw
Copy link
Owner

@JezSw JezSw commented Oct 21, 2024

To Close #28

@JezSw JezSw linked an issue Oct 21, 2024 that may be closed by this pull request
@JezSw
Copy link
Owner Author

JezSw commented Oct 21, 2024

TODO Assign a reviewer

@JezSw JezSw requested a review from Tri2008 October 28, 2024 14:23
Copy link
Collaborator

@yslan yslan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good overall.

Here I leave some comments and after a quick review of par file.
Besides the changes. Here are extra things might be worth mentioning.

  • case insensitive
  • comment with #
  • regularization
    • It could read variable like 1.0/${dt} if it's in the same section
    • It could also set under [VELOCITY] to overwrite the default values
  • Check par in logfile
    • The whole par will be printed into the logfile
    • The NekRS-recognized par key will be printed as key: <name> value: <value>

Thanks


.. code-block:: cpp

std::string user_occa_backend;
options.getArgs("THREAD MODEL", user_occa_backend);

In other words, if you have ``backend = CUDA`` in the ``.par`` file, then
As shown in snippet above, if you have ``backend = CUDA`` in the ``.par`` file, then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only if such backend is enabled during the compile time

``user_occa_backend`` would be set to ``CUDA`` in the above code.

In the ``GENERAL`` section, key settings include configuring the simulation's polynomial
order (``polynomialOrder``), restart options, and time iteration parameters. For nekRS
simulations, a recommended polynomial order is ``p=7``, though the software currently
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the notation consistent? Maybe need to work with theory?
Personally, I like $N$ and will use $p$ as number of processor.

In the ``GENERAL`` section, key settings include configuring the simulation's polynomial
order (``polynomialOrder``), restart options, and time iteration parameters. For nekRS
simulations, a recommended polynomial order is ``p=7``, though the software currently
supports orders ranging from 2 to 11. By default, nekRS uses the user-specified initial
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought $N=1$ should work, no?

and ``checkpointInterval`` parameters. The user can specify this frequency based on
either a set number of time steps or a simulation time interval.
Additionally, the user can select the time-stepping order (i.e., the order of the
backward difference scheme for time discretization) by setting ``timeStepper``
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sounds right, but it could be more precise? tombo3 is not BDF3 after all.

@JezSw
Copy link
Owner Author

JezSw commented Nov 4, 2024

Does the sess file need to be given a brief introduction here/somewhere else?

@Tri2008
Copy link
Collaborator

Tri2008 commented Nov 9, 2024

I have a few comments:

Line 26: “With one optional file”
The optional files includes .usr, .co2, and .upd. I recommend adding description for .usr and .co2 or referencing them.

Line 79: “* TEMPERATURE: settings for the temperature solution”
Adding TEMPERATURE is SCALAR00

Line 133: “preconditioner, coarseGridDiscretization, and smootherType to”
Provide a brief description of the above keys: preconditioner, coarseGridDiscretization, and smootherType

@yslan
Copy link
Collaborator

yslan commented Nov 9, 2024

@Tri2008 Could you put some of your findings regarding to nekrs.upd? If you have time.

@Tri2008
Copy link
Collaborator

Tri2008 commented Nov 9, 2024

Yes, I can do it

@JezSw JezSw changed the title [WIP] Case Files Case Files Nov 11, 2024
@JezSw JezSw marked this pull request as ready for review November 13, 2024 07:51
@JezSw JezSw removed the request for review from Tri2008 November 13, 2024 07:51
@JezSw
Copy link
Owner Author

JezSw commented Dec 16, 2024

@hapfang could you take a look at the comments by @yslan and the last one by @Tri2008? I'll see if I can address the first two from @Tri2008 .

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

Successfully merging this pull request may close these issues.

Case files
4 participants