-
Notifications
You must be signed in to change notification settings - Fork 71
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
Check default values for the case #21
Comments
AMAZING. |
@stefan-buildSCI thanks for checking! 💯 Very helpful. Can you attach the updated folder here or upload it to github. It's much easier to update the code based on the files. There is an open issues for convergence criteria #27 (comment). We should find a solution to plot the values as you mentioned. Reading text outputs won't really work. I will add that as a wish so we can add it soon. |
Just synced my changes to the study_room example |
Hello @mostaphaRoudsari @stefan-buildSCI Thanks very much for your comments and additions, and for finding out the error stefan! It's certainly not a good idea to prepare CFD cases way past bedtime. As Mostapha referenced, we are already planning to include the residual control as an exposed parameter to the user. Concerning plotting the residuals there are a couple of choices here. 1.Using the pyFoam libraries and the pyFoamPlotRunner.py utility. This works in Linux but I haven't tested in windows. If we can setup pyFoam in windows I don't see why not (even though we'd probably need to link it to a plotting environment). Or wait, this is a VM so it should run smh. The command would be (for a parallel run of a simpleFoam case): pyFoamPlotRunner.py mpirun -np 4 simpleFoam -parallel This nifty utility will pop up different charts exactly like the ones you showed for residuals and continuity. pyFoam even allows the user to save vector (or image) files of the plots at the end! 2.We replicate the functionality of pyFoam library by following the terminal output (> log.txt kind of thing), extracting the necessary information from the output (e.g. the number for each residual in each iteration) and then plotting that with a windows (?) software. Now obviously this looks, and is really, like it is rediscovering the wheel. However, a way to visualize run-time information in Windows would be extremely valuable for the visualization of information created from function objects. 3.Third way, which is a compromise between the two or rather the most efficient way to go about no. 2 is to use the -residual function object of OF. This would write out residuals for each timestep in a file. This file (which would have a standard format) can then be visualized smh. Hope this helps. Kind regards, |
@stefan-buildSCI thanks! Are you sure that you synced the changes with github. It's not up here yet: https://github.com/mostaphaRoudsari/Butterfly/commits/master |
Not sure why it didn't show up, looks like it synced now though. On Sun, Jul 10, 2016 at 7:17 PM, Mostapha Sadeghipour Roudsari <
|
@stefan-buildSCI @TheodoreGalanos I fixed the default values. Please open a new discussion for plotting residuals. Thank you for your help. |
@TheodoreGalanos, @stefan-buildSCI,
I uploaded a new folder study_room which is generated from scratch using butterfly.
I did a test and meshed it and ran it successfully but I'm not sure if the results is necessary accurate.
Can you please take a look and let me know your feedback? In particular I need to know your input on the default values for boundary conditions, etc. It's quite easy to create series of default values (similar to radianceParameters in Honeybee) but I don't have the expertise to come up with the values.
The text was updated successfully, but these errors were encountered: