nextfoam / baram

CFD for Everyone
https://baramcfd.org/
GNU General Public License v3.0
100 stars 17 forks source link

[SOLVED] BARAM port 8678 connection host failed (issues or bug) #65

Closed lucianoambrosini closed 5 months ago

lucianoambrosini commented 7 months ago

Hello everyone, I am facing the error above in both applications BaramFlow and BaramMesh. Any suggestions? Thanks in advance.

jiban commented 7 months ago

Dear @lucianoambrosini, BARAM does not use any network port. Could you capture the error message and let me know your running environment in detail?

-- Jake

lucianoambrosini commented 7 months ago

Castellation refinement Failed. [4294967295] (windows message) Error while connecting to host, Unable to establish connection. Persistent rejection of the target computer. (10061) Connect on sock (host=Asus, port=8678) failed, exhausted all end points Unable to connect to 'Asus:8678', sock error: Error = -1

This above is the error message displayed 8even in BaramFlow) I downloaded Baram 24.0.1.

jiban commented 7 months ago

Dear @lucianoambrosini, I still have no clue for the issue and have a few questions to clarify it.

  1. On what platform are you running Baram? (ex. Window, macOS, Linux, or WSL on Windows, ...)
  2. How did you install Baram? ( ex. by windows installer or git clone, ... )
  3. How do you run Baram? ( ex. by typing python command on command line, or by double-clicking on Windows, ...)
  4. Are you running Baram in Cluster configuration?
    image
lucianoambrosini commented 7 months ago

You are right sorry, so: 1) Windows 10, 2) I run the Windows installer app; 3) I run this app on Windows: image 4) I run it on the local machine image

I am trying to use BARAM to run some Buildings CFD analysis.

Thank you in advance for your help.

jiban commented 7 months ago

I'm strongly suspecting that the problem comes from MPI. Could you check your MPI installation status in Windows Settings? image

lucianoambrosini commented 7 months ago

Thanks for your prompt response! image

so I noticed that the MPI SDK is missing.

jiban commented 7 months ago

I found a similar issue here.

Error while connecting to host, No connection could be made because the target machine actively refused it. (10061) Connect on sock (host=computer name, port=8676) failed, exhaused all end points Unable to connect to 'computer name:8676', sock error: Error = -1

Do you have any other MPI installed on your Windows? Could you check if the path for MS-MPI is the first one?

Microsoft Windows [Version 10.0.19045.4170]
(c) Microsoft Corporation. All rights reserved.

C:\Users\jakej>where mpiexec
C:\Program Files\Microsoft MPI\Bin\mpiexec.exe

C:\Users\jakej>
lucianoambrosini commented 7 months ago

Thanks for your feedback, I checked it and I found out this:

C:\Users\luciano>where mpiexec C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32_win\mpirt\mpiexec.exe C:\Program Files\Microsoft MPI\Bin\mpiexec.exe

C:\Users\lucia>

jiban commented 7 months ago

Yes, you definitely have Intel MPI installed on your Windows. Could you try uninstalling it from "Settings > Apps" and restarting your computer, then running BARAM?

lucianoambrosini commented 7 months ago

Perfect! Thank you! I have renamed the intel MPI file and now BaramMesh and Flow go ahead in their calculation. Now I must find some tutorials to use them specifically for buildings/AEC industry. Any advice is well accepted :) Thank you for your support.

kdg5424 commented 7 months ago

Hi @lucianoambrosini . This is donggyu. I want to know the more detail information of you. You mentioned you need some tutorials for buildings/AEC. There are some fields in building/AEC like HVAC, plant engineering, boiler, etc. So I want to know which field exactly are you in. And which tutorials do you need? Thanks

jiban commented 5 months ago

Closed because no response for a long time

lucianoambrosini commented 5 months ago

Sorry for the tremendous delay,

AEC industry but I am more focused on the Urban and indoor design simulation, especially in knowing and assessing the wind behaviour over the building facades.

It would be fantastic if you could provide some Urban examples with buildings to understand the behaviour of the wind flux among them and how to get the wind pressure at some specific point. Everything start with which is the best way to model and define the hexsnappy mesh, and then how ti setup the context.

It would be really valuable for architects definitely!

Thank you in advance.

kdg5424 commented 5 months ago

Hello @lucianoambrosini. This is Donggyu.

I'm really sorry but currently there isn't a specific example of building wind pressure tutorials that suits your needs perfectly. However, there are similar examples sucs as airfoil, automobile and cantilever beams external aerodynamics tutorials. Since there is demand for building wind pressure examples, we plan to create on soon.

And which CFD SW do you use now? ANSYS, CCM or anything else? I'm just asking out of curiosity.

Best regards

Donggyu kim

lucianoambrosini commented 5 months ago

Thank you for your prompt response.

Generally I used to work with some specific Grasshopper plugins (that deploy OpenFoam as CFD engine), or sometimes with ANSYS. Thank you for your advice about "similar examples".

Best regards,

kdg5424 commented 5 months ago

Oh could you let us know Grasshopper plugin? I've never heard about that. Is it the specific solver for building wind pressure or general solver?

Best regards.

lucianoambrosini commented 5 months ago

Certainly. Grasshopper is a Visual Programming Language (VPL) for Rhinoceros, which is a 3D modeling NURBS software developed by McNeel & Associates. Since its inception in 2008, Grasshopper has significantly expanded, and a plethora of plugins have been created. In the realm of environmental design, two major projects stand out: Ladybug Tools and ClimateStudio.

Regarding CFD analysis specifically: 1) Butterfly is available from Ladybug Tools; 2) Eddy3D is provided by some developers from ClimateStudio;

Both serve as Grasshopper user interfaces for managing the OpenFoam engine.

I trust this information will be helpful to you.

Shall we begin developing a new GH plugin? 😉

Best regards.

kdg5424 commented 5 months ago

Thank you for your kind exlpain.

Could you let me know why you need that plugin and how are you going to use it? We have the roadmap and priority for the BARAM development. And by our judgement and decision, if the users seriously need the plugin (Grasshopper), we should decide to implement the plugin.

So could you give us more detail information?

Best regards

lucianoambrosini commented 4 months ago

The fundamental concept is to incorporate the capability for conducting CFD analysis within software platforms such as Rhino + Grasshopper, which excel in 3D object management. This is particularly crucial considering that most AEC projects, especially in architecture and engineering, utilize this environment for optimization processes. This is a succinct viewpoint.

Best regards,