-
Notifications
You must be signed in to change notification settings - Fork 114
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
Core dumped - reconstruct #66
Comments
Hi Colin, Cheers, |
|
Hi Mr. Bart, Thanks, |
Interesting. In a quick online search I have found comparable issues here and here. It may just be that your installation of |
Thanks for the advice, Bart! Once again, thanks for the help! |
Hi, |
Hi Shantanu, Two things come to mind.
Finally, since you're using a single machine, you could consider not parallelizing the SOWFA case. Just keep everything centralized. That means you should disable |
I was facing a similar issue. The reason for the segfault seems to be the compilation of OpenFOAM v2.4.0 using new versions of openMPI. So I reverted from openMPI v4.0.2 to v2.1.6 (for example; might work with some other versions as well) and |
Hi !
I'm trying to use the windplantsolver. To do so, I'm referring to these instructions:
Generating the precursor data
Preparing the precursor data
4. In the postProcessing folder, you will see a folder called SourceHistory and a folder called boundaryDataPre.
5. Copy the contents from “SOWFA\tools\boundaryDataConversion” to the postProcessing folder, and run the script makeBoundaryDataFiles.west.sh (note: you may have to change the first line of makeBoundaryDataFiles/data.py and of makeBoundaryDataFiles/points.py to fit your cluster). This will generate a folder called boundaryData containing the inflow data for the 2,000 seconds of simulation with correct formatting. This usually takes about 30 minutes on our cluster.
6. Copy the contents from “SOWFA\tools\sourceDataConversion” to the postProcessing folder, and run the script sourceHistoryRead.py. This will create a file called sources in your postProcessing folder.
7. Create a new folder in your main case directory (i.e., next to the folders constant and system) called drivingData. Copy the file sources and the folder boundaryData to drivingData.
8. In your main case directory, gather the state information from the various processors at time = 20,000 using OpenFOAM. This will be your initial condition for the wind farm simulation. Use this command:
reconstructPar -time 20000 -fields '(k kappat nuSgs p_rgh qwall Rwall T U)'
Coupling to a wind farm simulation
9. In your wind farm simulation folder, open the file runscript.preprocess. Then update the precursorDir to the directory of your precursor case. This folder should contain drivingData (containing the sources file and the boundaryData folder) and the folder 20000 (containing your initial conditions). Also, set startTime=20000, and make sure this matches with your controlDict.
10. Setup the simulation settings in setUp. Run runscript.preprocess and then submit (qsub) a HPC job for runscript.solve.1.
Everything is fine, until step 8. The reconstructPar is not working. I get the error:
How could I fix it?
Thank you for your time.
The text was updated successfully, but these errors were encountered: