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

[extend-bazaar] How to apply timeVaryingSolidTraction B.C. to fsiFoam?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 6, 2019, 11:32
Default [extend-bazaar] How to apply timeVaryingSolidTraction B.C. to fsiFoam?
  #1
New Member
 
W. Lee
Join Date: Feb 2016
Posts: 3
Rep Power: 10
postechkian is on a distinguished road
Hello guys,
I'm beginner in foam-extend FSI,
I want to use the "timeVaryingSolidTraction" B.C. which is already set in foam-extend "src/solidMechanics".

The thing I want to do is to transfer this B.C. into extend-bazaar FSI solidModel B.C. . I have already transferred the directories of timeVaryingSolidTraction and changed the details in files and options (/extend-bazaar/FluidSolidInteraction/src/fluidSolidInteraction/Make$)
and compiled it. (wclean and wmake)

But when I try this B.C. with 3dTube tutorial, error says

Quote:
gradientInternalCoeffs cannot be called for a genericFvPatchField (actual type timeVaryingSolidTraction)
on patch outer-wall of field D in file "/home/comb/foam/comb-4.0/run/3dTube/1e-03/fluid/0/solid/D"
You are probably trying to solve for a field with a generic boundary condition.

From function genericFvPatchField<Type>::gradientInternalCoeffs( ) const
in file fields/fvPatchFields/basic/generic/genericFvPatchField.C at line 832.
I think this error occurs when we mistype B.C. or other models.
I don't think there is anything wrong with compiling. What should I add more?
postechkian is offline   Reply With Quote

Old   April 8, 2019, 04:25
Smile I found it
  #2
New Member
 
W. Lee
Join Date: Feb 2016
Posts: 3
Rep Power: 10
postechkian is on a distinguished road
I just don't know about the concept of library in OpenFOAM.
Now, I think I know a little bit. I studied during the weekend.

"timeVaryingSolidTraction" BC is linked with "libsolidModels.so",
so what we should do is to apply only

Code:
libs ("libsolidModels.so");
in our case controlDict file.
Then finally, we can use this B.C. in extend-bazaar solvers.

Thank you.
postechkian 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
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
Which B.C. i should apply for this problem?urgent raivish Phoenics 4 February 16, 2006 04:35
which b.c. i should apply for this prob.urgent raivish Siemens 2 January 11, 2006 03:00
Which B.C. i should apply for this problem?urgent raivish Fidelity CFD 0 January 6, 2006 08:48
Which B.C. i should apply for this problem?urgent raivish FLUENT 0 January 6, 2006 08:48


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