PSA: A CfdOF Remote Processing "Candidate" is available.

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
techGuy
Posts: 126
Joined: Sat Jun 18, 2022 12:48 am

PSA: A CfdOF Remote Processing "Candidate" is available.

Post by techGuy »

A CfdOF candidate that implements remote processing has been released here: https://github.com/linuxguy123/CfdOF

This code is still under construction but it shouldn't cause any crashes or data loss. Nevertheless, back up your work !

To run this code, git clone it onto your workstation and copy it into /.local/share/FreeCAD/Mod/CfdOF, after you have removed (and backed up!) the current contents of that directory. This version of remote processing CfdOF does not change any of the currently saved CfdOF parameters so users should be able to go back and forth between the current CfdOF workbench and this remote processing version just by swapping out the contents of /.local/share/FreeCAD/Mod/CfdOF.

CfdOF remote processing has not been tested on Windows workstations. I am particularly interested to hear how it runs on them. As I do not have or use Windows computers, I am seeking a developer that does to handle any issues that arise on that platform.

Presently CfdOF remote processing only works with remote hosts running Linux. In theory it should work with other platforms that support *nix commands but this has not been tested.

A user's guide of sorts for using remote processing can be found here: https://github.com/jaheyns/CfdOF/issues ... 1473052988

I will post updates about this project in this thread, including the announcement of major pushes to the repo.
techGuy
Posts: 126
Joined: Sat Jun 18, 2022 12:48 am

Re: PSA: A CfdOF Remote Processing "Candidate" is available.

Post by techGuy »

Users might want to hold off on testing for a bit. I've just made a bunch of changes and fixed a few things so they work better. I'll push the changes to the repo soon. I'll update this thread when I do.
techGuy
Posts: 126
Joined: Sat Jun 18, 2022 12:48 am

Re: PSA: A CfdOF Remote Processing "Candidate" is available.

Post by techGuy »

I updated the code in the repo. It is now worthy of testing again.

https://github.com/linuxguy123/CfdOF

Users can keep abreast of the progress here: https://github.com/jaheyns/CfdOF/issues/70
techGuy
Posts: 126
Joined: Sat Jun 18, 2022 12:48 am

Re: PSA: A CfdOF Remote Processing "Candidate" is available.

Post by techGuy »

People can now install CfdOF-RP (Remote Processing) by adding a github repo to Tools->Addon Manager->Options

Code: Select all

https://github.com/linuxguy123/CfdOF-RP
Attachments
CfdOF in Addon Manager.png
CfdOF in Addon Manager.png (39.65 KiB) Viewed 812 times
techGuy
Posts: 126
Joined: Sat Jun 18, 2022 12:48 am

Re: PSA: A CfdOF Remote Processing "Candidate" is available.

Post by techGuy »

Not to tout my own horn, but @oliveroxtoby gave this release a quick spin and found it "fantastic".

I'd like to hear what others think of it.

2 issues have come to light in the current release:

1) The user may have to exit and reopen Preference before the host and username in a new profile are available to use with Ping and Test SSH. I'll look into this when I get time.

2) Remote Processing (RP) assumes that OpenFOAM works directly in a shell on the remote host. ie, without the user sourcing the OpenFOAM bashrc file. This means the user must add the OpenFOAM bashrc file to the remote user's .bashrc file on the remote host. At this point this functionality is by design and is explained in the RP user guide.
herbk
Veteran
Posts: 2657
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: PSA: A CfdOF Remote Processing "Candidate" is available.

Post by herbk »

Hi,
I'm with Oliver, its very great, - but i don't find the time to set it up and test it....
Gruß Herbert
Post Reply