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

solidDisplacementFoam (type field; properties)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 19, 2017, 15:50
Default solidDisplacementFoam (type field; properties)
  #1
New Member
 
Pawel
Join Date: Oct 2013
Posts: 9
Rep Power: 13
pawel123 is on a distinguished road
Hello,

I would like to simulate thermal stresses on geometry which consists of two bonded materials.
Therefore I would like to have position dependent mechanicalProperties (like rho, nu, E) and thermalProperties (like k and alpha).

Properties looks like eg.:
Quote:
E // Young's modulus [Pa]
{
type uniform;
value 3e+10;
}
I know that I can also use “type field;” instead of “type uniform;”. I assume that by specifying field I can write different value for each cell, am I correct?
Do you have any information about how to specify field values, because I can not find any information about that type.

Best regards,
Pawel
pawel123 is offline   Reply With Quote

Old   August 22, 2017, 16:42
Default
  #2
Member
 
Sugajen
Join Date: Jan 2012
Location: Tempe, USA
Posts: 52
Rep Power: 14
Sugajen is on a distinguished road
Hi Pawel,

Do have a look at these discussions.

Open Foam /Setfields
https://www.cfd-online.com/Forums/op...aryfields.html

best,
Sugajen
Sugajen is offline   Reply With Quote

Old   August 26, 2017, 13:14
Default
  #3
New Member
 
Pawel
Join Date: Oct 2013
Posts: 9
Rep Power: 13
pawel123 is on a distinguished road
Thank you for your answer.

Unfortunately i have been using setFields but as I know it works only for boundary conditions in time step folder(not constant properties). I made E file in folder 0, used setFields to specify correct values on interesting positions i obtained file like:

Quote:
internalField nonuniform List<scalar>
12005
(
values
)
but when i copy this code to constant properties under type field it does not work.
pawel123 is offline   Reply With Quote

Reply

Tags
field function, mechanics, soliddisplacementfoam


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
rhoSimpleFoam error johny0688 OpenFOAM Pre-Processing 4 June 1, 2021 13:23
rhoPimpleFoam hardship petrus OpenFOAM Running, Solving & CFD 0 October 7, 2016 03:41
Divergent temperature in chtMultiRegion(Simple)Foam akrasemann OpenFOAM Running, Solving & CFD 13 March 24, 2014 03:54
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 10:28
T Junction Stability ignacio OpenFOAM Running, Solving & CFD 5 May 2, 2013 11:44


All times are GMT -4. The time now is 09:40.