Mr. Christian Anzalotta
-
Content Count
8 -
Joined
-
Last visited
Posts posted by Mr. Christian Anzalotta
-
-
So update I followed several of the Ahmed, Sduct and propeller OpenFOAM for Windows setups. I've downloaded simFlow engine for Openfoam for windows and found the .bat file actually runs fine on my desktop through terminal/command prompt however when I allow CAESES to execute the file it fails to find any of the commands stated such as blockMesh etc. So is this an administrator rights issue or something else that I can edit to fix? I literally copied over the Sduct simflow workflow demo and if I execute the Allrun.bat or manually execute each command via command prompt outside of CAESES everything works fine. Only when CAESES is told to run the .bat I receive issues with unrecognized commands for the dictionary etc. So Im unsure why through the software connector its unable to execute properly. I also relinked all the files to the folder.
Moving C:/Users/Christian/Desktop/simflow/manual_results/baseline/Runner/input/0 to C:/Users/Christian/Desktop/simflow/manual_results/baseline/Runner//0
Moving C:/Users/Christian/Desktop/simflow/manual_results/baseline/Runner/input/allrun.bat to C:/Users/Christian/Desktop/simflow/manual_results/baseline/Runner//allrun.bat
Moving C:/Users/Christian/Desktop/simflow/manual_results/baseline/Runner/input/constant to C:/Users/Christian/Desktop/simflow/manual_results/baseline/Runner//constant
Moving C:/Users/Christian/Desktop/simflow/manual_results/baseline/Runner/input/system to C:/Users/Christian/Desktop/simflow/manual_results/baseline/Runner//system
[Captured output from application C:/Users/Christian/Desktop/simflow/manual_results/baseline/Runner//allrun.bat]
C:\Users\Christian\Desktop\simflow\manual_results\baseline\Runner>surfaceFeatureExtract
'surfaceFeatureExtract' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Christian\Desktop\simflow\manual_results\baseline\Runner>blockMesh
'blockMesh' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Christian\Desktop\simflow\manual_results\baseline\Runner>snappyHexMesh -overwrite
'snappyHexMesh' is not recognized as an internal or external command,
operable program or batch file
-
bump same issue my ./Allrun does not work meanwhile OF4WIN does work. I can run manually the configuration and then I can run the STL with linux commands. As soon as I attempt to use the ./Allrun script it will not run any of the commands and I have attempted to simplify my commands even to just blockMesh and it will not find the commands. The terminal from CAESES outputs that top response because it is not finding any of the commands from the dictionary.
Weird because ./Allrun script shouldn't be causing these issues unless there is a weird communication or specific structure
-
Thank you for the
Hej Christian,
If I understood correctly, you want to avoid donwloading large files (such as the .sim file) from the cluster.
CAESES do not need the .sim file nor a mesh. It only needs to receive the value of your evaluation variable(s).
Make sure that you java script to your simulation export the .csv file(s) and that you download it automatically to the design directory.
Then inside your Software connector, add the result file .csv in the Result Files or Result Values, run once, get your evaluation variables and use those on the Dakota engine.Best regards,
Paulo
Thanks a ton Paulo that was exactly what I needed to know!!! Cheers.
-
New issue edit. Any help would be appreciated.
-
My issue is when I import a set of coordinates from Solidworks and generate an Image curve, the resulting curve is open-loop rather than a closed-loop. I have included a file where I import the data points, the curve was generated and then a ruled surface was executed. From experience, I found I want the original points to form a closed-loop so I do not need to post-process further to close the resultant curve from the imported data.
In the CAESES file, you will find the airfoil import Feature Definition I used from a previous forum post and modified so it retained my coordinate system. How can I modify this Feature Definition so that the resulting curves are closed. The open ends are called Airfoil:Located:Start and End so I assume within the feature definition I would include an expression to automatically create a surface-normal line from the end point to the start point and wrap the two curves in a polycurve. The preferred, ideal method is where I import the raw points, put them at radial positions and create ruled surfaces between. Also is there an extrude style option or would I have to close the geometry using lids/endplates/etc. The file looks incomplete because I had to delete some of the geometry I can't disclose.
-
Thank you for the file. I am running through the file to better understand the setup, etc so I used this dat file which I can provide.
I tried using two other .dat files I generated in the format you mentioned, but seems to have some error when solving for the pXmax and camberline/thickness. Let me know if you find a solution before me!
Currently, I'm attempting to use the definitions you had within the file you sent and implementing into my current sim where the airfoils aren't have issue in generating the imported FImagecurve. Thank you for the quick setup and advice as well very helpful I can see myself generating designs by the end of the night or tomorrow at this pace.
Update: Thank you it has implemented the airfoil I added the appropriate Z column data and worked flawlessly.
Update2: Now only concern is the leading/trailing edge and the updated PS had a minor issue. Let me know what you think could be the issue.
0.392041436 0.178966488 00.392314212 0.179244108 00.392503871 0.179443385 00.392652883 0.179603464 00.392861265 0.179832375 00.393001402 0.179990204 00.393192252 0.18021241 00.393347119 0.180401061 00.393486167 0.18057896 00.393646724 0.180797733 00.39374968 0.18094794 00.39387913 0.181151735 00.393995759 0.181355061 00.394091333 0.181542114 00.394153194 0.181677559 00.394228029 0.181864494 00.394297726 0.182077195 00.394339677 0.182240582 00.39437875 0.18245383 00.394396496 0.182619713 00.394390658 0.183034659 00.394323573 0.183416758 00.394246677 0.18367421 00.394076447 0.184072293 00.393980386 0.184247184 00.393757685 0.184577117 00.393544133 0.184826868 00.393120686 0.185192845 00.39274566 0.1854141 00.392243093 0.18562151 00.39180429 0.185755602 00.39146288 0.185844122 00.390934103 0.185960963 00.3904076 0.186055707 00.389881432 0.18613191 00.389041108 0.186222391 00.388366224 0.186273331 00.38791347 0.186298542 00.387386427 0.186320032 00.386448089 0.186341018 00.385407904 0.186345138 00.384778891 0.186340328 00.383570265 0.186319883 00.382658456 0.186298034 00.380474193 0.186230602 00.37716422 0.186101254 00.373956142 0.185961776 00.3697469 0.185773581 00.366363568 0.185623987 00.363051327 0.185480218 00.359581714 0.185333501 00.35562807 0.185172084 00.351878007 0.185024983 00.347063037 0.184844805 00.34347205 0.184712783 00.339986712 0.184579952 00.336455162 0.184434836 00.330762863 0.184189226 00.326530804 0.184022639 00.323308933 0.183917175 00.319261078 0.183812004 00.315577186 0.183741365 00.312789327 0.183707829 00.309835993 0.183718899 00.307314008 0.183791506 00.304733191 0.183947645 00.30290625 0.184117818 00.30045248 0.184427624 00.298699308 0.184707164 00.297707081 0.184888022 00.296577344 0.185115205 00.295499974 0.185354511 00.29440723 0.185621993 00.293537876 0.185854528 00.292635128 0.186117108 00.291810181 0.186383833 00.291178498 0.186612546 00.290868159 0.186734122 00.290610679 0.186839962 00.290308275 0.186970245 00.289982062 0.187118206 00.289681917 0.18726124 00.289397503 0.187402891 00.289086651 0.187564463 00.288816436 0.187710559 00.288632434 0.187812992 00.288393822 0.187949311 00.288074147 0.188137947 00.287769447 0.188323928 00.287329605 0.188602404 00.28696768 0.188839194 00.286543346 0.189124063 00.28620467 0.189356202 00.285849127 0.189603823 00.285442485 0.189891305 00.285131264 0.190114008 00.28469596 0.190428832 00.284277505 0.190734521 00.283898115 0.191013657 00.28349773 0.191309515 00.283046264 0.191643047 00.282670627 0.191917309 00.282279478 0.192171803 00.282660682 0.191775091 00.283031943 0.191438246 00.28347909 0.191042958 00.28402806 0.190566543 00.284554276 0.190116526 00.285099255 0.18965626 00.285744578 0.189118457 00.286283409 0.188675561 00.286783051 0.188270369 00.287356809 0.187812626 00.287969638 0.187334741 00.288567321 0.186881836 00.2891444 0.186458444 00.290087556 0.185799268 00.290899622 0.18526654 00.291523657 0.184878807 00.292172084 0.184493874 00.293066823 0.183986643 00.293825475 0.183572204 00.294471209 0.183228865 00.295320581 0.182789075 00.296089997 0.182401224 00.297005291 0.181951728 00.29821473 0.181375889 00.299163172 0.180937641 00.30017654 0.180481507 00.301233607 0.180018417 00.302579622 0.17944683 00.304367512 0.178718187 00.305844581 0.178142059 00.307440931 0.177544483 00.308735824 0.177077852 00.310289152 0.176538081 00.311638318 0.176085682 00.313244975 0.175565096 00.314967782 0.175026481 00.316354593 0.174606174 00.31796247 0.174133722 00.319231285 0.173772521 00.320393642 0.173450896 00.321814549 0.173070119 00.323182584 0.172716772 00.324411192 0.172410861 00.32569727 0.17210256 00.327010518 0.171800662 00.328396228 0.171496355 00.329854007 0.17119198 00.331431286 0.170880808 00.332742392 0.170636474 00.334122175 0.170393353 00.335457784 0.170171669 00.33683916 0.169956486 00.338229129 0.169754404 00.339746429 0.169550374 00.341221772 0.169368628 00.342389837 0.169236423 00.343473085 0.169123085 00.344689849 0.169006456 00.345947914 0.168897802 00.347080942 0.168810383 00.348566126 0.168710856 00.349945025 0.16863397 00.35137926 0.168570416 00.352710471 0.168526951 00.354461783 0.16849341 00.355691838 0.168486488 00.357131202 0.168496445 00.358406141 0.168522038 00.359497106 0.16855682 00.360848356 0.168616887 00.361876237 0.168675646 00.363187195 0.168767673 00.364227314 0.168854845 00.365197461 0.168947873 00.36621135 0.169057602 00.367395975 0.169202588 00.368599792 0.16936917 00.369837678 0.169561544 00.371071233 0.169775408 00.37197367 0.169946444 00.372848693 0.170124521 00.373737242 0.170318131 00.37464626 0.170530024 00.375255683 0.170680173 00.376101217 0.170899612 00.376861773 0.171108386 00.3777844 0.171376803 00.378587536 0.171624818 00.379473137 0.17191483 00.380427819 0.17224821 00.381075976 0.17248761 00.381709866 0.172732555 00.382383922 0.17300536 00.383297339 0.173396388 00.383892528 0.173664752 00.384542574 0.17397035 00.385131302 0.174258616 00.385620552 0.174506679 00.386061178 0.174737101 00.38659674 0.175026982 00.387146973 0.175337123 00.38762094 0.175615264 00.388000849 0.175846177 00.388329948 0.176052338 00.388655792 0.176262441 00.38896276 0.176466238 00.389217703 0.176640151 00.389556121 0.176878065 00.389777023 0.177038039 00.390059322 0.177248296 00.390339959 0.177464314 00.390680459 0.17773672 00.390909242 0.177926728 00.391279259 0.178247312 00.391530623 0.178475425 00.391758378 0.178689752 0 -
So I followed tutorials to import my IGES geometry, import the airfoil data points and also parametrize the curves via scaling/translation/rotation. This allows me to use the pre-existing geometry as references and create the airfoils within Caeses. Now I am interested in parametrizing the generated FImageCurves of one of the multi-elements and optimizing the airfoil profile (so the actual FImageCurve).EDIT: I parameterized the airfoil combinations, included other geometry etc. and manage to have CAESES output working IGES files for use in StarCCM+. Now I have to run remotely on a browser based cluster (difficult to remote from local pc). Also results will be too large to download unless its a csv file or only have to download few times per sample size (i.e every 5 valuations create a new Ensight file to import from highest downforce candidate). I ran an Adjoint Sensitivity baseline. I plan to use this for the initial baseline sensitivty for the Dakota Optimisation method. I generated 25 designs with a blank baseline for downforce and I restricted the geometry to test if the random design samples were all feasible designs. My question is do I need to run the CFD, the Adjoint Sensitivity responses and export an Ensight file with those results for every design generated or can I simply export after a mesh/run from StarCCM+ a net total downforce evaluation in a .csv file of the corresponding design iteration and import that into CAESES? Wasn't entirely sure from referencing tutorial how to import the csv for design iteration XX's downforce evaluation.
I can connect to StarCCM+ up until the mesh/run case with macro. Cannot do mesh/run locally nor remote connect locally.
OpenFOAM connection error
in Software Connections
Posted · Report reply
The solution was to run both the simflow installer and CAESES installer with admin rights and run them with admin rights. No issues now!