CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   what is swap4foam ?? (https://www.cfd-online.com/Forums/openfoam/119819-what-swap4foam.html)

AB08 June 25, 2013 16:21

what is swap4foam ??
 
Hi foamers , m a noob in openFoam nd need ur help....

what is swap4foam ??

kilroy June 27, 2013 10:30

Hi Abhiroop. I have never heard of "swap4foam".

Do you think it may be "swak4Foam"? ;)

Best,

Kilroy

cfdonline2mohsen June 27, 2013 15:21

Dear Abhiroop,
It stands for SWiss Army Knife for Foam. have a look at:
http://openfoamwiki.net/index.php/Contrib/swak4Foam

gschaider June 27, 2013 17:42

Quote:

Originally Posted by kilroy (Post 436359)
Hi Abhiroop. I have never heard of "swap4foam".

You should have: it is an extension of financialFoam to allow the calculation of (financial) swaps ;)

Quote:

Originally Posted by kilroy (Post 436359)
Do you think it may be "swak4Foam"? ;)

Boring explanation

kilroy June 27, 2013 17:50

Quote:

You should have: it is an extension of financialFoam to allow the calculation of (financial) swaps
I have never heard of it. I don't think it comes with the default OpenFoam. I have also just googled it and nothing showed up. Is there a link to download it?

gschaider June 27, 2013 19:10

Quote:

Originally Posted by kilroy (Post 436432)
I have never heard of it. I don't think it comes with the default OpenFoam. I have also just googled it and nothing showed up. Is there a link to download it?

I was only joking. Sorry if I wasted your time.

immortality June 27, 2013 19:57

its(I mean swak4Foam) a very useful code that i couldn't manage my thesis if it didn't exist,it made the work less hard for me to do.
It enables us to use complicated BC's and very other works by its tools in it provided by genius Bernhard Gschaider who was joking.
What do you want to do with it?maybe i or others can guide you

kilroy June 28, 2013 00:45

Quote:

Originally Posted by gschaider (Post 436442)
I was only joking. Sorry if I wasted your time.

I knew that you were joking :) Thank you very much for such a useful tool.

immortality June 28, 2013 04:26

Quote:

Originally Posted by kilroy (Post 436465)
I knew that you were joking :) Thank you very much for such a useful tool.

You knew Bernhard was joking?! Then who wanted to download it?! ;)

gschaider June 28, 2013 04:35

Quote:

Originally Posted by kilroy (Post 436465)
I knew that you were joking :) Thank you very much for such a useful tool.

I wasn't 100% sure and I was not sure whether "look up the SIG 'Foam in the financial industries' on the extend-project.org" would have made things worse

elvis June 28, 2013 05:56

[QUOTE=gschaider;436429]You should have: it is an extension of financialFoam to allow the calculation of (financial) swaps ;)

swap4foam is maintaind by Bernie and is suitable to calculate collapse of a financial bubble

gschaider June 28, 2013 06:15

[QUOTE=elvis;436514]
Quote:

Originally Posted by gschaider (Post 436429)
You should have: it is an extension of financialFoam to allow the calculation of (financial) swaps ;)

swap4foam is maintaind by Bernie and is suitable to calculate collapse of a financial bubble

Right. Contrary to common believe bubbleFoam is NOT suitable for this. Further note: also stressComponents is NOT suitable for postprocessing a financial crisis

kilroy June 28, 2013 09:01

Quote:

You knew Bernhard was joking?! Then who wanted to download it?!
Look at the first two posts. Abhiroop was asking for help and I was trying to help him.

AB08 June 28, 2013 09:05

Well thanx everyone :)...... ne1 has a link to download it.....??

kilroy June 28, 2013 09:13

Quote:

Originally Posted by AB08 (Post 436556)
Well thanx everyone :)...... ne1 has a link to download it.....??

Abhiroop,

If the package you want to download is "swap4Foam" then there is no library like that (Everyone in this post is just joking about it :) ). But if you are looking for "swak4Foam" then you can use the link provided by Mohsen, which is:

http://openfoamwiki.net/index.php/Contrib/swak4Foam

You can find the information to download it in the "Downloading" section of the link above.

Hope this helps,

Kilroy

AB08 June 28, 2013 09:18

ya ya kilroy I got it.....:) nd thnx a lot :)

immortality June 28, 2013 09:38

Quote:

Originally Posted by kilroy (Post 436432)
I have never heard of it. I don't think it comes with the default OpenFoam. I have also just googled it and nothing showed up. Is there a link to download it?

you had believed that it exists at last;)
and Bernhard said to you:
Quote:

I was only joking. Sorry if I wasted your time.
now you say you knew it was a joke?:D
Quote:

I knew that you were joking Thank you very much for such a useful tool.
never mind:D

kilroy June 28, 2013 09:55

Quote:

Quote:
Quote:

Originally Posted by kilroy
I have never heard of it. I don't think it comes with the default OpenFoam. I have also just googled it and nothing showed up. Is there a link to download it?
you had believed that it exists at last
and Bernhard said to you:
Quote:

Quote:
I was only joking. Sorry if I wasted your time.
now you say you knew it was a joke?
Quote:

Quote:
I knew that you were joking Thank you very much for such a useful tool.
never mind
At first, after Bernhard told me I thought that there may be a custom solver like that :D Then when I googled it and nothing showed up, after that I knew that he was joking :D Then I asked him for a link because I knew that he couldn't provide one :D

immortality June 28, 2013 10:06

to be honest I believed it a little but the tone of Bernhard and the icons he put was odd! ;) but when Elvis said:
Quote:

swap4foam is maintaind by Bernie and is suitable to calculate collapse of a financial bubble
I really thought may he has found a utility by this name:D but read the page and noticed its a joke again!:D that joking of Bernhard was necessary to change the atmosphere! ;)

kilroy June 28, 2013 10:24

Quote:

Originally Posted by immortality (Post 436574)
to be honest I believed it a little but the tone of Bernhard and the icons he put was odd! ;) but when Elvis said:
I really thought may he has found a utility by this name:D but read the page and noticed its a joke again!:D that joking of Bernhard was necessary to change the atmosphere! ;)

That is true :) I will name the first utility that I will develop as "swap4Foam" :D

AB08 June 28, 2013 12:56

Ok i did download swak4foam ...:) but whn i tried to compile i got the following lines..


No 'swakConfiguration'. Python etc won't work
Checking swak4Foam-version and generating file
Bison is version 2.5
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 2 Patch 0 (-1 == x)
No change to swak4FoamParsers/foamVersion4swak.H
make[1]: Entering directory `/home/abhiroop/OpenFOAM/abhiroop-2.2.0/run/swak4foam/Swak4Foam_2.x_release_0.2.3/Libraries/swak4FoamParsers'
Making dependency list for source file plugins/SampledSurfaceValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/SampledSurfaceValuePluginFunction.C
Making dependency list for source file plugins/SampledSetValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/SampledSetValuePluginFunction.C
Making dependency list for source file plugins/FaceZoneValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/FaceZoneValuePluginFunction.C
Making dependency list for source file plugins/FaceSetValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/FaceSetValuePluginFunction.C
Making dependency list for source file plugins/CellZoneValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/CellZoneValuePluginFunction.C
Making dependency list for source file plugins/CellSetValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/CellSetValuePluginFunction.C
Making dependency list for source file plugins/PatchValuePluginFunction.C
could not open file PatchValueExpressionParser.tab.hh for source file plugins/PatchValuePluginFunction.C
could not open file directMappedPatchBase.H for source file plugins/PatchValuePluginFunction.C
Making dependency list for source file plugins/FieldValuePluginFunction.C
could not open file directMappedFvPatch.H for source file plugins/FieldValuePluginFunction.C
could not open file directMappedWallFvPatch.H for source file plugins/FieldValuePluginFunction.C
could not open file directMappedPointPatch.H for source file plugins/FieldValuePluginFunction.C
could not open file FixedValuePointPatchField.H for source file plugins/FieldValuePluginFunction.C
could not open file ZeroGradientPointPatchField.H for source file plugins/FieldValuePluginFunction.C
could not open file CalculatedPointPatchField.H for source file plugins/FieldValuePluginFunction.C
Making dependency list for source file plugins/CommonPluginFunction.C
Making dependency list for source file initSwakFunctionObject.C
Making dependency list for source file SampledSetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file SampledSetValueExpressionDriver.C
Making dependency list for source file SampledSurfaceValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file SampledSurfaceValueExpressionDriver.C
Making dependency list for source file FaceZoneValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file FaceZoneValueExpressionDriver.C
Making dependency list for source file CellZoneValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file CellZoneValueExpressionDriver.C
Making dependency list for source file FaceSetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file FaceSetValueExpressionDriver.C
Making dependency list for source file CellSetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file CellSetValueExpressionDriver.C
Making dependency list for source file SetSubsetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file SetSubsetValueExpressionDriver.C
Making dependency list for source file SubsetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionDriver.C
Making dependency list for source file SubsetValueExpressionLexer.ll
could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionLexer.ll
Making dependency list for source file PatchValueExpressionDriver.C
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C
could not open file directMappedPatchBase.H for source file PatchValueExpressionDriver.C
could not open file directMappedFvPatch.H for source file PatchValueExpressionDriver.C
could not open file directMappedWallFvPatch.H for source file PatchValueExpressionDriver.C
could not open file directMappedPointPatch.H for source file PatchValueExpressionDriver.C
could not open file FixedValuePointPatchField.H for source file PatchValueExpressionDriver.C
could not open file ZeroGradientPointPatchField.H for source file PatchValueExpressionDriver.C
could not open file CalculatedPointPatchField.H for source file PatchValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C
Making dependency list for source file PatchValueExpressionLexer.ll
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionLexer.ll
could not open file directMappedPatchBase.H for source file PatchValueExpressionLexer.ll
Making dependency list for source file FieldValueExpressionDriver.C
could not open file directMappedFvPatch.H for source file FieldValueExpressionDriver.C
could not open file directMappedWallFvPatch.H for source file FieldValueExpressionDriver.C
could not open file directMappedPointPatch.H for source file FieldValueExpressionDriver.C
could not open file FixedValuePointPatchField.H for source file FieldValueExpressionDriver.C
could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionDriver.C
could not open file CalculatedPointPatchField.H for source file FieldValueExpressionDriver.C
Making dependency list for source file FieldValueExpressionLexer.ll
could not open file directMappedFvPatch.H for source file FieldValueExpressionLexer.ll
could not open file directMappedWallFvPatch.H for source file FieldValueExpressionLexer.ll
could not open file directMappedPointPatch.H for source file FieldValueExpressionLexer.ll
could not open file FixedValuePointPatchField.H for source file FieldValueExpressionLexer.ll
could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionLexer.ll
could not open file CalculatedPointPatchField.H for source file FieldValueExpressionLexer.ll
Making dependency list for source file makeSwakDataEntry.C
Making dependency list for source file CommonValueExpressionDriver.C
Making dependency list for source file SubsetValueExpressionParser.yy
could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionParser.yy
Making dependency list for source file PatchValueExpressionParser.yy
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionParser.yy
could not open file directMappedPatchBase.H for source file PatchValueExpressionParser.yy
Making dependency list for source file FieldValueExpressionParser.yy
could not open file directMappedFvPatch.H for source file FieldValueExpressionParser.yy
could not open file directMappedWallFvPatch.H for source file FieldValueExpressionParser.yy
could not open file directMappedPointPatch.H for source file FieldValueExpressionParser.yy
could not open file FixedValuePointPatchField.H for source file FieldValueExpressionParser.yy
could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionParser.yy
could not open file CalculatedPointPatchField.H for source file FieldValueExpressionParser.yy


need sm help here :)

immortality June 28, 2013 13:08

that seems OK.wait till it ends compiling.maybe about 30 minutes or even more depending on your system.;)

gschaider June 28, 2013 15:30

Quote:

Originally Posted by kilroy (Post 436577)
That is true :) I will name the first utility that I will develop as "swap4Foam" :D

... and it will have nothing to do with the financial industries but will help make this world a better place, I hope.

kilroy June 28, 2013 15:43

Quote:

Originally Posted by immortality (Post 436574)
to be honest I believed it a little but the tone of Bernhard and the icons he put was odd! ;) but when Elvis said:
I really thought may he has found a utility by this name:D but read the page and noticed its a joke again!:D that joking of Bernhard was necessary to change the atmosphere! ;)

Quote:

Originally Posted by gschaider (Post 436616)
... and it will have nothing to do with the financial industries but will help make this world a better place, I hope.

No, I am not a finance person. Right now, I am trying to write my own solver by modifying "interDyMFoam". I will call it "swapInterDyMFoam" :D "interDyMFoam" solver is very buggy. When it comes to the handling of the floating bodies, it usually crashes due to pressure fluctuations on the floating body surface. I am trying to implement a relaxation stage for the p field calculations into my code. I am not a programming expert and it is taking more time than I expected. Hopefully it will help to make this world a better place when I complete it.

immortality June 29, 2013 20:48

hi
could you share it now?

kilroy June 29, 2013 20:58

It hasn't been completed yet. I am trying to look into other similar codes (shipFoam, etc.) to get an idea.

wyldckat June 30, 2013 06:40

Greetings to all!

@kilroy:
Quote:

Originally Posted by kilroy (Post 436831)
It hasn't been completed yet. I am trying to look into other similar codes (shipFoam, etc.) to get an idea.

Don't forget navalFoam: http://www.cfd-online.com/Forums/ope...navalfoam.html

Best regards,
Bruno

kilroy July 1, 2013 09:17

Many thanks Bruno

amcloughlin801 February 2, 2016 01:22

Quote:

Originally Posted by kilroy (Post 436831)
It hasn't been completed yet. I am trying to look into other similar codes (shipFoam, etc.) to get an idea.

Hi Kilroy

Did you ever complete this? I'd be very interested to see it if so! I know it's a long shot cos it's 3 years later!!

Cheers


All times are GMT -4. The time now is 22:23.