-
Notifications
You must be signed in to change notification settings - Fork 9
[FXC-3564][FXC-979] ForceOutput and its stopping criterion #1519
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
base: main
Are you sure you want to change the base?
Conversation
c87d8f8 to
a611fc9
Compare
0c3f55f to
48ac55a
Compare
bf011b3 to
0a9b5ea
Compare
| ] | ||
|
|
||
| ForceOutputCoefficientNames = Literal[ | ||
| "CD", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we somehow unify this with the ones in results_utils.py?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
5dc97e5 to
a78def5
Compare
| description="List of force coefficients. Including CL, CD, CFx, CFy, CFz, CMx, CMy, CMz. " | ||
| "For surface forces, their SkinFriction/Pressure is also supported, such as CLSkinFriction and CLPressure." | ||
| ) | ||
| models: List[Union[ForceOutputModelType, str]] = pd.Field( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we try removing these string in schemas? The ID string should not be able to reach here.
| description="List of surface/volume models whose force contribution will be calculated.", | ||
| ) | ||
| moving_statistic: Optional[MovingStatistic] = pd.Field( | ||
| None, description="The moving statistics used to monitor the output." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change the description here? (and other moving_statistic)
| None, description="The moving statistics used to monitor the output." | |
| None, description="When specified, report moving statistics of the fields instead." |
| return value | ||
| model_ids = [] | ||
| for model in value: | ||
| if isinstance(model, get_args(get_args(ForceOutputModelType)[0])): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need the isinstance check here?
Also can we wrap this and share with other places that serializes to id instead of models?
b993e71 to
b729e5b
Compare
…t coefficient csv file
… will trigger external postprocessing.
…re expanded before validation
b729e5b to
54a98c8
Compare
No description provided.