CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Coupling OpenFOAM to Open SOurce 1D code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 23, 2015, 04:43
Default Coupling OpenFOAM to Open SOurce 1D code
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Hi all,

I am interested in a coupling interface between OpenFOAM and a OpenSource 1D combustion code. For this I have OpenWOM in mind (http://www.cmt.upv.es/OpenWam.aspx). My focus is on coupled 1D-3D ICE simulations.
I know there has been a OpenFOAM-GT-Power coupling but is there something else?

Thanks

BastiL
bastil is offline   Reply With Quote

Old   December 23, 2015, 05:04
Default
  #2
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
If OpenWOM have user-defined functions or something similar, then you can couple it with OpenFOAM with functionObjects of fvOptiosn - depending on what you want to do exactly
mkraposhin is offline   Reply With Quote

Old   December 23, 2015, 05:37
Default
  #3
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
I have taken a look into the recent sources:
https://github.com/CMT-UPV/OpenWAM

It has some kind of preparation since similar things have already been done for Fluent as described here:
https://riunet.upv.es/bitstream/hand...sisUPV3883.pdf

I will keep you posted.
bastil is offline   Reply With Quote

Old   December 23, 2015, 12:15
Default
  #4
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
If you will propose simple example of interaction between OpenFOAM and OpenWAM, i can help you with functionObject and fvOptions implementation
mkraposhin is offline   Reply With Quote

Old   December 23, 2015, 12:27
Default
  #5
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
What do you mean with simple example? Basically I want to do two things:
  • exchange wall temperature from OpenWAM to OpenFOAM to calculate solid temperatures of engine head and block of transient temperature cycles
  • Exchang epressure velocity an species at boundary conditions to combine 1D and 3D, eg. run exhaust system in 3D and get transient BCs from ObenWAM in 1D.
These are simiar examples that are already available in the OpenFOAM-GTPower coupling. My second point is also described in my second link above, including an FLUENT UDF.
bastil is offline   Reply With Quote

Old   December 24, 2015, 12:52
Default
  #6
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
Hi,
sorry for the long delay

Quote:
  • exchange wall temperature from OpenWAM to OpenFOAM to calculate solid temperatures of engine head and block of transient temperature cycles
  • Exchang epressure velocity an species at boundary conditions to combine 1D and 3D, eg. run exhaust system in 3D and get transient BCs from ObenWAM in 1D.
It is a good practice to create a simple geometry case for example, for circular pipe which can exchange heat with external wall. Pipe is modelled with OW, wall is modelled with OF.

Quote:
My second point is also described in my second link above, including an FLUENT UDF
I found too many letters by this link.
Maybe it will be much faster to make simple exchange of mass/heat between OF and OW. And only next step can consist of understanding how different people solve similar such problems.
mkraposhin is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 03:04
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 15:14
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23


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